#65 InputSource character buffer size 2048 problem

SAX_2.0
closed-duplicate
nobody
None
1
2007-08-28
2006-03-05
Anonymous
No

I parse a XML document with SAX2 via InputSource:

myParser.parse(new InputSource(xmlFile.toURL
().openStream()));

I get a tag's value splitted into two parts using the
callback "public void characters(...)". The first part
is in the character array on position 2044 with length
4 "16.0" and the second part "5.2005" on position 0
with length 6. It should be a German date
value "16.05.2005" if receiving in one part.
This behavior is other than in SAX1 parsers. It seams
to relate to the character array size 2048? Ho can I
avoid this splitting?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Yes, same problem here. Is there any fixes already for this
    problem? seem that not one here looking into this....

     
  • Nobody/Anonymous

    Logged In: NO

    Yes, same problem here. Is there any fixes already for this
    problem? seem that not one here looking into this....

     
  • David Megginson

    David Megginson - 2007-08-28

    Logged In: YES
    user_id=232602
    Originator: NO

    Duplicate of 1538813

     
  • David Megginson

    David Megginson - 2007-08-28
    • priority: 5 --> 1
    • status: open --> open-duplicate
     
  • David Megginson

    David Megginson - 2007-08-28

    Logged In: YES
    user_id=232602
    Originator: NO

    Duplicate of 1538813

     
  • David Megginson

    David Megginson - 2007-08-28
    • status: open-duplicate --> closed-duplicate
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks