URN support?

Are you missing a feature? Request its implementation here.
atl
Posts: 5
Joined: Thu Oct 09, 2003 2:30 pm
Location: Lancaster, UK

URN support?

Post 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]
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
atl
Posts: 5
Joined: Thu Oct 09, 2003 2:30 pm
Location: Lancaster, UK

Post by atl »

wow! perfect guess. So sorry for the false alarm and unchecked test case.
Post Reply