A
ali100
Apologies for the basic (!) nature of this question but I just
have not been able to find an answer to my problem after several
googling sessions.
I want to use nsglms to parse an xml file against a public schema
but I cannot seem to get the parser to read the schema on my local
system.
When parsing against a DTD I always have a line in the individual
xml files something like
<!DOCTYPE production SYSTEM "c:\LocalPath\my.dtd">
Trying something similar for the schema, i.e.,
<...xsi:schemaLocation="c:\LocalPath\my.xsd">
does not work and nsgmls reports the error
nsgmls:... no document type declaration; will parse without
validation
My nsglms command line is
nsgmls -E0 -w xml -c\LocalPath\xml.soc -s -f errors.out
myfile.xml
Maybe I need something else on the command line?
I would be grateful for any suggestions.
have not been able to find an answer to my problem after several
googling sessions.
I want to use nsglms to parse an xml file against a public schema
but I cannot seem to get the parser to read the schema on my local
system.
When parsing against a DTD I always have a line in the individual
xml files something like
<!DOCTYPE production SYSTEM "c:\LocalPath\my.dtd">
Trying something similar for the schema, i.e.,
<...xsi:schemaLocation="c:\LocalPath\my.xsd">
does not work and nsgmls reports the error
nsgmls:... no document type declaration; will parse without
validation
My nsglms command line is
nsgmls -E0 -w xml -c\LocalPath\xml.soc -s -f errors.out
myfile.xml
Maybe I need something else on the command line?
I would be grateful for any suggestions.