Dave Pawson wrote:
> 2. Why is the name attribute of type anyURI?
> -c isn't valid for 'anyURI' AFAIK, yet is good for some (many) validators?
>
This is not answering Dave's question but data type anyURI really does
not have any constraints that can be validated: almost any string can be
used. It would not be out of place to use the empty string too (e.g.
meaning the current document, a la XSLT document("").
anyURI really just sets a semantic, and not even much of a semantic: I
think I proposed it and named it at the XSD WG, and the main motivation
was to avoid requiring real URI or URL fragment syntax, with all the
delimiters and percent encoding. So -c could indeed be a valid anyURI,
IIRC, even though probably the notional backend system would have to
percent encode it in order to make it a real URL (a relative URL I guess.)
Cheers
Rick Jelliffe
-- DSDL comments To unsubscribe, please send a message with the command "unsubscribe" to dsdl-comment-request@dsdl.org (mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)Received on Tue May 27 11:54:13 2008
This archive was generated by hypermail 2.1.8 : Wed May 28 2008 - 00:33:03 UTC