Error in entities

Bob (archive)

Usenet Archive
Joined
Apr 12, 2000
Messages
597
Reaction score
0
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?
 

David Carlisle

Usenet Archive
Joined
Jan 5, 2000
Messages
609
Reaction score
0
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
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top