Subject: [jats-list] Validating a JATS document with xmllint and the XSD schema From: Alf Eaton <eaton.alf@xxxxxxxxx> Date: Fri, 18 Oct 2013 16:08:56 +0100 |
Has anyone been able to successfully validate a JATS document using xmllint and the JATS XSD schema? I can validate a file perfectly using the DTD: % xmllint example.xml --noout --loaddtd --valid but when using the schema it complains about part of the MathML module: % xmllint example.xml --noout --schema http://jats.nlm.nih.gov/publishing/1.0/xsd/JATS-journalpublishing1.xsd => http://jats.nlm.nih.gov/publishing/1.0/xsd/ncbi-mathml2/content/constructs.xsd:193: element complexType: Schemas parser error : complex type 'piecewise.type': The content model is not determinist. => WXS schema http://jats.nlm.nih.gov/publishing/1.0/xsd/JATS-journalpublishing1.xsd failed to compile Normally I'd just use the DTD, but now that the JATS schema has been incorporated into CrossRef's deposit schema[1] there's a need for validation against the XSD schema as well. Thanks, Alf [1] http://www.crossref.org/schema/deposit/crossref4.3.3.xsd
<- Previous | Index | Next -> |
---|---|---|
Re: [jats-list] JATS-Con 2013 will , Beck, Jeff (NIH/NLM/ | Thread | [jats-list] Re: Validating a JATS d, Alf Eaton |
Re: [jats-list] Program Available f, Tommie Usdin | Date | [jats-list] Re: Validating a JATS d, Alf Eaton |
Month |