Error in entities

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob

    #1

    Error in entities

    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

    #2
    Re: Error in entities

    [color=blue]
    > In the source document there are many entites (like Ö) that the parser
    > doesn't recognize.[/color]

    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

    Comment

    Working...