External entity ref bug?
Posted: Fri Apr 23, 2004 12:46 am
Dear users,
I've an XML file without a DTD. In the DOCTYPE at the top, I declare an entity:
<!ENTITY others SYSTEM "sofar.txt">
and then use it within the body:
&others;
sofar.txt is in the same directory as myfile.xml. When I check the XML file for well-formedness, I get the following error message:
UTFDataFormatException-Invalid byte 2 of 2-byte UTF-8 sequence.
If I replace &others; with the actual contents of sofar.txt, I no longer get this error message.
Any ideas?.. The original purpose behind this was to have all of the elements used so far in many different files available in the autocomplete menus of the newest file I'm working on. oXygen doesn't seem to be seeing the contents of sofar.txt at all, as far as that is concerned.
Thanks much for your help,
-vika (feel free to respond here or send mail to oxygen-at-wordsend-org)[/code]
I've an XML file without a DTD. In the DOCTYPE at the top, I declare an entity:
<!ENTITY others SYSTEM "sofar.txt">
and then use it within the body:
&others;
sofar.txt is in the same directory as myfile.xml. When I check the XML file for well-formedness, I get the following error message:
UTFDataFormatException-Invalid byte 2 of 2-byte UTF-8 sequence.
If I replace &others; with the actual contents of sofar.txt, I no longer get this error message.
Any ideas?.. The original purpose behind this was to have all of the elements used so far in many different files available in the autocomplete menus of the newest file I'm working on. oXygen doesn't seem to be seeing the contents of sofar.txt at all, as far as that is concerned.
Thanks much for your help,
-vika (feel free to respond here or send mail to oxygen-at-wordsend-org)[/code]