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: | Catalog does not resolve urn:publicid:... | ||
---|---|---|---|
Product: | xml | Reporter: | alexmilowski <alexmilowski> |
Component: | Catalog | Assignee: | issues@xml <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
alexmilowski
2004-02-21 00:26:57 UTC
Please could you provide sample document nad catalog snippet? Thank you <?xml version="1.0" encoding="UTF-8"?> Here's the XML: <event xmlns="urn:publicid:IDN+cde.berkeley.edu:milowski:schemas:example-form:event:200402" start-date="4/16/2004" > <title>Practical RDF</title> <location>Room 202, South Hall</location> <presenter>Norm Walsh</presenter> <description><p>Norm Walsh is coming to talk about pratical RDF.</p></description> </event> Here's the catalog: <?xml version="1.0" encoding="UTF-8"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer='public'> <uri name="http://cde.berkeley.edu/~milowski/schemas/example-form/event/200402" uri="event.xsd"/> <public publicId="IDN cde.berkeley.edu//milowski//schemas//example-form//event//200402" uri="event.xsd"/> </catalog> Here's the schema: <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:publicid:IDN+cde.berkeley.edu:milowski:schemas:example-form:event:200402" xmlns="urn:publicid:IDN+cde.berkeley.edu:milowski:schemas:example-form:event:200402"> <xsd:element name="event"> <xsd:complexType> <xsd:sequence> <xsd:element name="title" form='qualified' type="xsd:string"/> <xsd:element name="location" form='qualified' type="xsd:string"/> <xsd:element name="presenter" form='qualified' type="xsd:string"/> <xsd:element name="description" form='qualified'> <xsd:complexType> <xsd:sequence> <xsd:element name="p" form='qualified' type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="start-date" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> </xsd:schema> Thanks, I have not known urn:publicid:IDN+cde.berkeley.edu:milowski:sch...> to <public publicId="IDN cde.berkeley.edu//milowski//schemas//example-form//event//200402" uri="event.xsd"/> trick. Definitelly eager to see specification URL. The sad side is that it's not implemented in IDE. On the other hand if Xerces supports it it should not be problem. So I mark this issue as enhacment. It's very similar to issue 40338 that was fixed yesterday. urn:publicid: syntax is supported. |