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: | Cannot parse content of nbextras.org | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Rechtacek <jrechtacek> |
Component: | Autoupdate | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | jglick, mmirilovic |
Priority: | P2 | Keywords: | JDK_SPECIFIC |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6452510 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Screenshot attached... |
Description
Jiri Rechtacek
2006-07-25 09:23:07 UTC
I can reproduce by downloading http://updatecenter.nbextras.org/5.0/nbextras_1.15.xml, opening in the IDE running JDK 6 b92, and running Validate XML. I get Checking file:/tmp/nbextras_1.15.xml... Attribute "OpenIDE-Module-Friends" must be declared for element type "manifest". [1,099] Attribute name "of" associated with an element type "signature" must be followed by the ' = ' character. [2,015] XML validation finished. The first error is correct - the info for net.sourceforge.napkinlaf is simply wrong. (Probably the module authors were using an older version of <makenbm> which incorrectly included this attr.) But the second error is nonsense - it is from the line in the LGPL <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice which is enclosed in a CDATA section and thus should not be interpreted as markup. Cf. http://validator.w3.org/check?uri=http%3A%2F%2Fupdatecenter.nbextras.org%2F5.0%2Fnbextras_1.15.xml&charset=utf-8&doctype=Inline Running Check XML gives just the bogus error. (Which is I think what we care about - AFAIK the AU client does no validation, probably since our update server URLs are usually broken and whoever publishes them refuses to fix them.) So this looks like a JAXP bug to me. "It's jdk6-b92 specific, works for me with b92 and with jdk5 as well" is I guess a typo - on which JDKs does it work for you, besides JDK 5? "It's jdk6-b92 specific, works for me with b92 and with jdk5 as well" is I guess a typo - on which JDKs does it work for you, besides JDK 5? Jesse, you are right. It's typo I have though b91 which worked for me. Bugfix 6452510 in Progress, will be close iff the bugfix will work. It is reproducible in following configuration: NetBeans 5.5 Dev (Build 200608140000) Windows XP version 5.1 running on x86 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b93; Sun Microsystems Inc.; en_US (nb); Cp1252 The same it is with build 94. This issue seems to be critical, because users running on some jdk 6 builds are not able to connect to update center. They just get following dialog - see screenshot. Created attachment 32871 [details]
Screenshot attached...
Since jdk1.6.0, b96 works for me. No need to fix on NB side. *** Issue 83884 has been marked as a duplicate of this issue. *** verified |