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 - Schema: include element doesn't accept relative URI
Summary: Schema: include element doesn't accept relative URI
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-03 16:49 UTC by Martin Schovanek
Modified: 2007-09-25 01:32 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 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.