must parser expands character entities?

Discussion in 'XML' started by rw, Dec 16, 2004.

  1. rw

    rw Guest

    I convert document by sax. If i have character entities (>) in attributes in my start element chandler parser return translated entities (> to >).
    Can i prevent this? i dont found any feature in http://xml.org/sax/features/ described in standard.
    --
    Robert Was
     
    rw, Dec 16, 2004
    #1
    1. Advertising

  2. rw wrote:
    > I convert document by sax. If i have character entities (>) in
    > attributes in my start element chandler parser return translated
    > entities (> to >).
    > Can i prevent this? i dont found any feature in
    > http://xml.org/sax/features/ described in standard.

    Hi,

    I doubt that there is anything in the parser you can configure to get
    what you need. You will need to encode your data as > in the
    attribute, where you currently have > .

    Regards,
    Kenneth
     
    Kenneth Stephen, Dec 17, 2004
    #2
    1. Advertising

  3. rw

    rw Guest

    Thanks, it works.

    --
    Robert Was

    Kenneth Stephen wrote:

    > Hi,
    >
    > I doubt that there is anything in the parser you can configure to
    > get what you need. You will need to encode your data as > in the
    > attribute, where you currently have > .
    >
    > Regards,
    > Kenneth
     
    rw, Dec 17, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ck
    Replies:
    5
    Views:
    4,800
    Steve Pugh
    Jun 8, 2004
  2. MarionEll
    Replies:
    0
    Views:
    345
    MarionEll
    Nov 2, 2004
  3. Marion Elledge
    Replies:
    0
    Views:
    390
    Marion Elledge
    Nov 10, 2004
  4. Replies:
    3
    Views:
    632
    Vyacheslav Kononenko
    May 13, 2005
  5. Jim Higson
    Replies:
    3
    Views:
    225
    Eric Amick
    Jul 25, 2004
Loading...

Share This Page