Subject: Re: [jats-list] Re: Validating a JATS document with xmllint and the XSD schema From: Jeff Beck <beck.jeff@xxxxxxxxx> Date: Fri, 18 Oct 2013 14:08:17 -0400 |
Alf The latest libxml fixed this problem. Jeff > On Oct 18, 2013, at 1:06 PM, Alf Eaton <eaton.alf@xxxxxxxxx> wrote: > > For reference, I was able to solve my problem (which was actually a > problem in xmllint/libxml) by commenting out a line of the MathML XSD > file (for the CrossRef validation it was MathML3, which gave a > similar, but different, error). > > Alf > >> On 18 October 2013 16:08, Alf Eaton <eaton.alf@xxxxxxxxx> wrote: >> 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.xs d: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 -> |
---|---|---|
[jats-list] Re: Validating a JATS d, Alf Eaton | Thread | Re: [jats-list] Re: Validating a JA, Alf Eaton |
[jats-list] Re: Validating a JATS d, Alf Eaton | Date | Re: [jats-list] Re: Validating a JA, Alf Eaton |
Month |