[XML-SIG] Relative URI

Jan Delgado Jan.Delgado@unamite.com
Wed, 31 Oct 2001 18:36:47 +0100


hello,
i am parsing (validating) xml code with the
xml.dom.ext.reader.Sax2.FromXml() function.
the xml code contains a reference to a dtd.

the parser process stops with the following
message:
 
<unknown>:2:47: Cannot resolve relative URI 'order.dtd' 
when document URI unknown

how can i set the document URI ?

the strange thing here is that when i use 
FromXmlStream(sys.stdin, validate=1) an pipe the
file into the python script, everything is fine.
 
--Jan