This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | problem with UTF8 XML files? | ||
---|---|---|---|
Product: | www | Reporter: | ivan <ivan> |
Component: | Builds & Repositories | Assignee: | nbbuild-issues@ide <nbbuild-issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed patch |
Description
ivan
2002-05-28 23:22:36 UTC
nbbuild component I found solution - I'll attach proposed patch. It is workaround done with using reflection API. Created attachment 5992 [details]
proposed patch
I applied suggested patch. Please verify. AFAIK "UTF8" really *is* an invalid encoding and no XML file should be using it. They should be using "UTF-8". What file was using this encoding?! I would recommend the patch be rolled back, the file with the bogus encoding found, and the encoding declaration fixed to be compliant to the XML standard. Also who else gets this error? What is it about Ivan's build? Is there some non-NetBeans module which includes the incorrect encoding declaration in some XML file? Do you guys have enough info? Do I need to provide more details? And _yes_ I'd very much like to know why I"m suffering from this and no-one else. In a related matter I also had my ant problems (the "What with ant" theread) which only seemed to affect me. I'm sorry Jesse to be unclear, the encoding used in UpdateTracking task is UTF-8. I don't know why there is in exception encoding name UTF8. But the problem should be fixed. I tried nearly all imaginalbe combinations of ANT and JDK and it was working... I also tried ANT bundled with extra binaries. Ivan: I think I don't need more informations. Please verify if it is fixed. And as a reply on your question: Nearly nobody are using bundled ANT It works for me. Thanks. |