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 23117

Summary: Schema: include element doesn't accept relative URI
Product: xml Reporter: Martin Schovanek <mschovanek>
Component: SchemaAssignee: _ pkuzel <pkuzel>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2002-05-03 16:49:03 UTC
[Nb Build 200205030100, jdk1.4.0]

Steps to reproduce:
-------------------
1) create schema like this:
   ...
   <include schemaLocation="address.xsd"/>
   ...
2) validate the schema

IDE throws:
Warning: Cannot resolve empty public ID using
suspicious default netbeans:address.xsd.
src-include.0: Failed to read included schema
document 'address.xsd'. [15] null
Although the address.xsd exists.
Comment 1 _ pkuzel 2002-05-27 18:05:24 UTC
It is wrapping bug. All relative references in wrapped document are
based on wrong base URI. Going to switch to fake public ID, in spite
of the fact that there were some problems with it too, ...
Comment 2 _ pkuzel 2002-05-27 19:51:18 UTC
Fixed.
Comment 3 Martin Schovanek 2002-11-06 12:51:08 UTC
VERIFIED
Comment 4 Quality Engineering 2003-07-02 08:38:49 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.