Oracle XML parser problem

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

    #1

    Oracle XML parser problem

    Hi all!

    I am using Oracle XML parser ver 9.0.1.0.0 for C++ and I am having a
    strange problem with quotes. Parser throws a parsing error when trying
    to parse attributes containing quotes (even escaped: " ). Does
    anyone know what the problem is?
    Example: attrName=" " hello " "
    Error: LPX-00240: element -start tag is not well formed
  • Thomas Jollans

    #2
    Re: Oracle XML parser problem

    MistralZ wrote:[color=blue]
    > Hi all!
    >
    > I am using Oracle XML parser ver 9.0.1.0.0 for C++ and I am having a
    > strange problem with quotes. Parser throws a parsing error when trying
    > to parse attributes containing quotes (even escaped: " ). Does
    > anyone know what the problem is?
    > Example: attrName=" " hello " "
    > Error: LPX-00240: element -start tag is not well formed[/color]

    I don't *know* the problem, but if you can change the XML (I don't know
    your app), then try attrName=' " hello " '. This is just as
    well-formed as the above, but might not give this strange error.

    Thomas Jollans

    Comment

    • MistralZ

      #3
      Re: Oracle XML parser problem

      I tried this, in fact I tried all combinations of apostrophe and
      double quotes both escaped (") and not (' " " '), it has the same
      effect, it seems like the parser doesn't handle double quotes in any
      form which is strange.

      Comment

      Working...