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 55615 - project.xml files does not validate
Summary: project.xml files does not validate
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: API (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 15:23 UTC by _ pkuzel
Modified: 2007-09-25 01:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-02-28 15:23:26 UTC
XMLSchema contrained files validation is broken.
Comment 1 _ pkuzel 2005-02-28 15:25:23 UTC
FIXED in SharedXMLSupport.java new revision: 1.7
Comment 2 _ pkuzel 2005-02-28 15:50:18 UTC
More precisely it ignored document's xsi:schemaLocation attribute.

Validation set JAXP's schemaLocation property overwriting document's
xsi:schemaLocation by a value from URIResolver (Project entity
resolver  returns nonsences for project namespace URis). Nevertheless
document's xsi:schemaLocation attribute must be honored. Now it's 1:1
mapped to the JAXP property.
Comment 3 _ pkuzel 2005-02-28 15:55:14 UTC
It's still unreliable behind effective firewall due to issue #53364.
Now it can be workarounded by specifing xsi:schemaLocation attribute
pointing to local xsd...
Comment 4 zikmund 2005-04-01 09:07:33 UTC
Validate of project.xml in WebApp works fine.