Error in entities

B

Bob

I use saxon transformer as XSLT engine, but I have a problem:

---
Error reported by XML parser: reference to entity "&{0};" not defined.
----

In the source document there are many entites (like Ö) that the parser
doesn't recognize.

Why? The document is malformed? Can I configure the parser to ignore unknown
entities?
 
D

David Carlisle

In the source document there are many entites (like Ö) that the parser
doesn't recognize.

If there is not a <!DOCTYPE declaration at the top of your source file
pointing at a dedinition of those entities then your input is not well
formed and will generate an error with any XML parser. XML only has five
predefined entity names (apos, quot, lt, gt, amp)

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top