Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ercp-dev] ercp xml parser version 1.2.0

Hi Gorkem,

Gorkem Ercan wrote:
Hey Scott,
I do not recall seeing anything reported against eRCP parser that resembles what your description.

I am not an expert on XML so can not judge whether it is a bug or not. Just thinking should those lines be actually in a CDATA section?

It's possible...I'm using XML that's generated by p2 (so at this point it's unlikely to change even if it should be in CDATA section), and I'm not an XML expert either. But in any case I'll try to do some more investigation.

Scott



--
Gorkem

On Fri, May 8, 2009 at 6:01 AM, Scott Lewis <slewis@xxxxxxxxxxxxxxxxx <mailto:slewis@xxxxxxxxxxxxxxxxx>> wrote:

    Hi,

    I'm using the 1.2.0 version of the eRCP xml parser and am seeing
    some behavior different from J2SE impl of the xml parser.
     Specifically, while parsing XML documents that have this code:
     &#xA;  embedded in element values, I see the J2SE impl of the
    parser replace these values with a newline character (i.e. '\n'),
    while the eRCP xml parser does not do this (at least with the text
    handler I'm using).  So, for example:

    <myelement>this is line one&#xA;this is line two&#xA;this is line
    three</myelement>

    When using the j2SE 1.4 parser I see this output from the text
    handler:

    this is line one
    this is line two
    this is line three

    while the eRCP xml parser does not modify the original String.

    Is this possibly a known problem?  Should I file a bug for it?  I
    haven't yet created a stand-alone document and parser to try this
    out and see if it does it outside of the context I'm using the
    parser...but is this going to be necessary?

    Thanksinadvance for any info,

    Scott


    _______________________________________________
    ercp-dev mailing list
    ercp-dev@xxxxxxxxxxx <mailto:ercp-dev@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/ercp-dev


------------------------------------------------------------------------

_______________________________________________
ercp-dev mailing list
ercp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ercp-dev



Back to the top