in reply to Data Exchange between perl and java.

... recently we have found that some of the content breaks our markup medium XML.

Without knowing what this "some of the content" is, we can only speculate. Can you post a fragment or two that demonstrates the problems you're seeing?

  • Comment on Re: Data Exchange between perl and java.

Replies are listed 'Best First'.
Re: Re: Data Exchange between perl and java.
by GermanHerman (Sexton) on Aug 13, 2003 at 18:51 UTC
    I am sorry that I didn't post some sample content initially, the content will include user input (html, javascrip, XHTML), so I would like it to be able to include ANYTHING, that's why I wanted to put it in some sort of safe compartment while it was in there with the XML.

    The question is : How could I saftly escape everything dangerous to XML and have my java developer easily be able to unescape it?

    -Douglas