I'm using the SAXParser to parse a dtd that has entity definitions which
contain references to external text files -- for example:

<!ENTITY % data_file SYSTEM "data.txt">
<!ELEMENT data_element (#PCDATA)>
<!ATTLIST data_element data_attribute #FIXED '%data_file;'>

>From this, I expect a "data_element" element to have a "data_attribute"
attribute with a fixed value loaded from the "data.txt" file. Instead, the
"data_attribute" attribute ends up with the literal value "%data_file". As
far as I can tell, the EntityResolver is not even being called to resolve
the "data_file" entity. Do I need to do something different with the
SAXParser, or is the dtd bogus?

Thanks in advance,

--chris




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to