[xml] xmlReader DTD Validation questions

1) From what I can tell, the only way to get the xmlReader API to use
a non-inline DTD is to have a reference to that DTD file in the XML
file.  Is this true?

2) It seems that since the xmlReader can read an external DTD if it is
referenced in the XML file, it would be simple to add a function to
manually set an external DTD to be used if one is not present in a
DOCTYPE declaration?  Am I being naive?

3) In the case of a referenced DTD file, is it possible to specify a
search path for xmlReader, or can it only look for the DTD file as
defined in the reference relative to the location of the XML file?
(which seems to be the default behavior)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]