xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Melander <d95-...@sm.luth.se>
Subject forcing validation
Date Wed, 28 Mar 2001 20:51:28 GMT
I have a server that receives a XML-file over http and responds with
another. I do not have control over the client and they may not send
correct xml. (usually not ;)  Therefore we want to validate the xml file
against the dtd.

Is it possible to force the dom parser to validate against a dtd? I have
not found anything in the api. If not, the best way seems to do a regexp
in the file and insert the "dtd-link".


In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message