External entity ref bug?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
External entity ref bug?
Post by vika »
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]
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Please send at support@oxygenxml.com a sample to reproduce the problem. I suspect it is an encoding problem, when you paste the text in there is no encoding involved, this is done at character level.
Best Regards,
George
Please send at support@oxygenxml.com a sample to reproduce the problem. I suspect it is an encoding problem, when you paste the text in there is no encoding involved, this is done at character level.
Best Regards,
George
-
- Posts: 1
- Joined: Fri Apr 23, 2004 11:20 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service