Subject: [jats-list] XSD and @noNamespaceSchemaLocation From: "Maloney, Christopher (NIH/NLM/NCBI) [C] maloneyc@xxxxxxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 23 Sep 2015 20:18:58 -0000 |
I think this may have come up before, but I just noticed that a document that attempts to use the @noNamespaceSchemaLocation attribute to identify its XSD schema is not valid according to the DTD. For example: ``` <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.0/JATS-journalpublishing1.dtd"> <article dtd-version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://jats.nlm.nih.gov/publishing/1.0/xsd/JATS-journalpublishing1.xsdb > ``` I would think that this should work, but if you validate it against the DTD, it complains, because @xsi:noNamespaceSchemaLocation is not declared. I was about to attach a comment to the JATS document on the NISO site, suggesting adding xsi:noNamespaceSchemaLocation as a "CDATA #IMPLIED" attribute on <article>. This fits into the DTD, considering: * @xmlns:xsi is already defined on <article> as "CDATA #FIXED 'http://www.w3.org/2001/XMLSchema-instance'" * @xsi:schemaLocation is defined on mml:math as "CDATA #IMPLIEDb b so the addition of @xsi:noNamespaceSchemaLocation to <article> would be similar to this. But I thought I should send it out to this list first, to see if there are considerations I'm not aware of. -- Chris Maloney NIH/NLM/NCBI (Contractor) Building 45, 4AN36D-12 301-594-2842
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[jats-list] Clinical trials and how, Melissa Harrison m.h | Thread | Re: [jats-list] XSD and @noNamespac, Debbie Lapeyre dalap |
[jats-list] Clinical trials and how, Melissa Harrison m.h | Date | [jats-list] JATS Tag for interviews, withanage withanage@ |
Month |