W3C Schemas: qu'autorise anyURI ?

Stephane Bortzmeyer <[email protected]>
Newsgroups gmane.text.xml.french.tech
Organization NIC France
Message-ID <[email protected]>
J'ai un schéma où un élément peut avoir un contenu anyURI
(http://www.w3.org/TR/xmlschema-2/#anyURI) et cet URL semble poser
problème :

http://www.lemonde.fr/web/article/0,1-0@2-651865,36-735912@51-722775,0.html

rnv le refuse :

francophonie-ouverte.entry_xml:39:39: error: attribute ^url with invalid value "http://www.lemonde.fr/web/article/0,1-0@2-651865,36-735912@51-722775,0.html"
required:
        data http://www.w3.org/2001/XMLSchema-datatypes^anyURI

mais xmllint/libxml2 n'y voit pas d'inconvénient. Lequel a raison ?

La section "2.2. Reserved Characters" du RFC 2396 me donne à penser
que rnv a raison (le @ et la virgule sont réservés).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.