From: "Mark Jordan" <[log in to unmask]>
> I am validating the following MODS document against a local copy of
> http://www.loc.gov/standards/mods/xml.xsd (using "xmllint --schema
> xml.xsd record.xml"):
To elaborate on my previous post: are you validating against a local copy of
the MODS schema (as well as the xml.xsd schema)?
> Also, if I want to batch validate a few thousand similar records, is
> using the schema at http://www.loc.gov/standards/mods/xml.xsd still the
> preferred way to do it (see
> http://osdir.com/ml/text.mods/2007-01/msg00004.html).
No. There is no preferred way, if you want to validate locally, fine, but
you need a local copy of MODS in order to reference the xml schema. As
noted in the message you cite:
copy the MODS schema
> to your local system), change the line
>
> <xsd:import namespace="http://www.w3.org/XML/1998/namespace";
> schemaLocation="http://www.w3.org/2001/xml.xsd"/>
>
> to
>
> <xsd:import namespace="http://www.w3.org/XML/1998/namespace";
> schemaLocation="http://www.loc.gov/standards/mods/xml.xsd"/>--Ray
|