[lxml-dev] XML Schema and validation (bis) xmllint fails as well
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 xmllint fails trying to validate a simple xsd against the XMLSSchema.xsd from the w3c. (wget http://www.w3.org/2001/XMLSchema.xsd) [anguenot@finlandia examples]$ xmllint --schema XMLSchema.xsd simple.xs XMLSchema.xsd:238: element complexType: Schemas parser error : local complex type: The content model is not determinist. WXS schema XMLSchema.xsd failed to compile <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="title" type="xs:string"/> <xs:element name="description" type="xs:string"/> </xs:schema> Am I missing sthg in here ? J. - -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDA3reGhoG8MxZ/pIRAgNqAJ4y6kMiqz5Vdj6+GrPS81jnHBNjgACfYpuG KZ5esDQhDX1E+nTG6vdYFO8= =tgUM -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Forgot to give the xmllint version : anguenot@finlandia examples]$ xmllint --version xmllint: using libxml version 20620 compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas Modules J. Julien Anguenot wrote:
xmllint fails trying to validate a simple xsd against the XMLSSchema.xsd from the w3c. (wget http://www.w3.org/2001/XMLSchema.xsd)
[anguenot@finlandia examples]$ xmllint --schema XMLSchema.xsd simple.xs XMLSchema.xsd:238: element complexType: Schemas parser error : local complex type: The content model is not determinist. WXS schema XMLSchema.xsd failed to compile <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="title" type="xs:string"/> <xs:element name="description" type="xs:string"/> </xs:schema>
Am I missing sthg in here ?
J.
_______________________________________________ lxml-dev mailing list lxml-dev@codespeak.net http://codespeak.net/mailman/listinfo/lxml-dev - -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDA3vgGhoG8MxZ/pIRAvPQAJ0UZSM/hmrCH43EZi5MdnlSuB5lBACffLK9 fPPNS1F+Y0dqpILupWAkEvw= =9eFh -----END PGP SIGNATURE-----
participants (1)
-
Julien Anguenot