Page 1 of 1

URN support?

Posted: Fri Jul 16, 2004 4:28 pm
by atl
Hi. I'm trying to work a lot with MPEG-7 data, and in validating the (nearly) XML Schemas involved, it chokes with a simple error:

Code: Select all

	E unknown protocol: urn	
on this code:

Code: Select all

<schema elementFormDefault="qualified"
targetNamespace="urn:MPEG:mpeg7:schema:2001"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:mpeg7="urn:MPEG:mpeg7:schema:2001" xmlns:xml="http://www.w3.org/XML/1998/namespace">
...etc.

As I'm sure you know, URNs are not a protocol at all, but another form of URI. Is there a way of working around this? Can this be a feature request?
[working with Oxygen 4.2]

Posted: Fri Jul 16, 2004 6:36 pm
by george
Hi,

The error is does not appear from the code you posted, for instance the following is validated by oXygen:

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified"
targetNamespace="urn:MPEG:mpeg7:schema:2001"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:mpeg7="urn:MPEG:mpeg7:schema:2001" xmlns:xml="http://www.w3.org/XML/1998/namespace">


</schema>
I guess there is some import/include in the schema at some point that use a URN in as the location hint.

Best Regards,
George

Posted: Mon Jul 19, 2004 12:36 pm
by atl
wow! perfect guess. So sorry for the false alarm and unchecked test case.