Re: [relax-ng] Re: RFC2518 (WebDAV) / RFC2396 (URI) inconsistency

From
James Clark <>
Date
2001-11-21T05:14:34+00:00
ID
425136473.1006344897@[192.168.0.197]
Thread
Re: [relax-ng] Re: RFC2518 (WebDAV) / RFC2396 (URI) inconsistency
> I would like RELAX NG not to block "DAV:".

This is a tough one.  I have been going round in circles in my own mind on 
this one.

Observe that whilst RELAX NG does not allow

<element ns="dav:" name="contenttype">...</element>

it does allow

<element xmlns:D="dav:" name="D:contenttype">...</element>

This seems inconsistent to me. Either both should be allowed or both should 
be disallowed. But disallowing the latter seems wrong given that the XML 
Namespaces Rec does not disallow

 <D:contenttype xmlns:D="dav:"/>

My current feeling is therefore that we should simply drop all checks on 
the "ns" attribute, and in the RELAX NG schema for RELAX NG use string 
rather than anyURI as its datatype.  I don't see any need to change the 
checking of the datatypeLibrary or href attributes.

James