Subject: [jats-list] Invalid Schema Files From: "Jean Gelinas jgelinas@xxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Mar 2015 20:19:37 -0000 |
Assigning schema JATS-articleauthoring1-mathml3.xsd version 1.1d1 to text file bmj_sample.xml in Altova XML Spy. Get the following error: File D:\Development\JATS\articleauthoring\1.1d1\xsd\JATS-Authoring-1-1d1-MATHML3-X SD\JATS-articleauthoring1-mathml3.xsd is not valid. File D:\Development\JATS\articleauthoring\1.1d1\xsd\JATS-Authoring-1-1d1-MATHML3-X SD\xlink.xsd has errors. 'xlink:href' is already declared. Error location: schema / attribute Details sch-props-cor rect.2: 'xlink:href' is already declared. Get this error when trying the same using JATS-articleauthoring1.xsd (version 1.0): File D:\Development\JATS\articleauthoring\1.0\xsd\JATS-articleauthoring1.xsd is not valid. File D:\Development\JATS\articleauthoring\1.0\xsd\xlink.xsd has errors. 'xlink:href' is already declared. Error location: xs:schema / xs:attribute Details sch-props-cor rect.2: 'xlink:href' is already declared. When trying to generate an xsd from the dtd (JATS-articleauthoring1-mathml3.dtd (version 1.1d2), again, using Altova XML Spy, and then applying those schemas (2 are generated) against the text file (bmj_sample.xml) get this error: File D:\Development\JATS\articleauthoring\1.1d2\dtd\JATS-Authoring-MathML3-1.1d2\T oXSD2.xsd is not valid. File C:\Program Files\Altova\Common2015\Schemas\math\files\common\xlink-href.xsd has errors. 'xlink:href' is already declared. Error location: schema / attribute Details sch-props-cor rect.2: 'xlink:href' is already declared. Want to use the schema to generate a class/object structure in code. Without a valid schema, most code generators (at least any that I seem to be using), cannot generate. Jean Gelinas Software Engineer
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[jats-list] JATS-Con Pre-Conference, Beck, Jeff (NIH/NLM/ | Thread | [jats-list] 2015 Feedback Request f, Bausenbach, Ardie ab |
[jats-list] JATS-Con Pre-Conference, Beck, Jeff (NIH/NLM/ | Date | [jats-list] 2015 Feedback Request f, Bausenbach, Ardie ab |
Month |