Hi,
I wrote a simple
java SAX xml parsing app, and I want to validate a docbook document using the w3c schema. I wrote a simple (identical) docbook instance file that validates using the dtd.
Here is the xml
doc:
this is the output from the parser:
In the actual schema listed in the schema location, the only namespace is:
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
I tried adding that ns to my doc, no luck.
A quick search around indicates that RELAX-NG is the new thing for docbook, and w3c is not widely used (for docbook), so I should just dump it altogether, but I was curious why it doesn't work.
thanks!!
jason