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.

Bug 81043 - Cannot parse content of nbextras.org
Summary: Cannot parse content of nbextras.org
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: JDK_SPECIFIC
: 83884 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-25 09:23 UTC by Jiri Rechtacek
Modified: 2006-10-23 16:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (4.41 KB, image/png)
2006-08-14 09:00 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2006-07-25 09:23:07 UTC
Product Version         = NetBeans IDE Dev (Build 060724)
Operating System        = Linux version 2.6.12 running on i386
Java; VM; Vendor; Home  = 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b92; Sun
Microsystems Inc.; /space/shared/java/jdk1.6.0/jre

Cannot parse content of URL: http://updatecenter.nbextras.org/5.0/nbextras_1.18.xml.
It's jdk6-b92 specific, works for me with b92 and with jdk5 as well. Also I
cannot reproduce on my local copy of requested file, needs access via proxy.
Comment 1 Jesse Glick 2006-07-25 10:23:25 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?
Comment 2 Jiri Rechtacek 2006-07-25 10:48:34 UTC
"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.
Comment 3 Jiri Rechtacek 2006-08-07 07:56:25 UTC
Bugfix 6452510 in Progress, will be close iff the bugfix will work.
Comment 4 Jaromir Uhrik 2006-08-14 08:59:04 UTC
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.
Comment 5 Jaromir Uhrik 2006-08-14 09:00:14 UTC
Created attachment 32871 [details]
Screenshot attached...
Comment 6 Jiri Rechtacek 2006-08-22 08:47:55 UTC
Since jdk1.6.0, b96 works for me. No need to fix on NB side.
Comment 7 Jiri Rechtacek 2006-09-11 08:55:54 UTC
*** Issue 83884 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2006-09-11 09:42:29 UTC
verified