Share

NanoXML

Code

Programming Languages: Java

License: zlib/libpng License

Show:

What's happening?

  • Improper parsing of CDATA with "]" as final character

    If you parse an XML file with "]" as the last character before the closing ]]> in a CDATA section, NanoXML doesn't seem to properly match tags thereafter. Eg 2 ...

    2007-08-25 12:12:30 UTC by nobody

  • Some new methods!

    Hello, I used ur class (lite version) in a mobile application (for Nokia 3120).. But I needed some methods to make the work with NanoXML easier, so I wrote them! and this is the code: ----------------------------------------- public XMLElement getChild(int index) { try { return (XMLElement)this.children.elementAt(index); } catch (Exception e) {.

    2007-02-27 01:00:46 UTC by in4matics

  • Followup: RE: Error: Invalid input: `?' (0xffff) ....

    This error seems to happen only in windows XP... The application was developped on a windows 2000 station. Any idea of what cause this error?.

    2006-08-10 18:55:02 UTC by paco12345

  • Error: Invalid input: `?' (0xffff) ....

    Hi im using nanoXML v2.2.3 and i get this error when i try to launch the parser.Parse(); method! Invalid input: `?' (0xffff), SystemID='file:/tempXMLfile.xml', Line=1 at net.n3.nanoxml.XMLUtil.errorInvalidInput(Unknown Source) at net.n3.nanoxml.StdXMLParser.scanData(Unknown Source) at net.n3.nanoxml.StdXMLParser.parse(Unknown Source) at...

    2006-08-10 18:31:24 UTC by paco12345

  • Bad CDATA parsing with character ']'

    in nanoxml.XMLElement (function checkCDATA line 2412) you have: switch (ch) { case ']': if (delimiterCharsSkipped < 2) { delimiterCharsSkipped += 1; } else { buf.append(']'); buf.append(']'); delimiterCharsSkipped = 0; } break; ... The problem comes if you have 3 ']' before the '>'. You wont find the...

    2005-11-07 14:50:51 UTC by nobody

  • Sax for nanoxml on MIDP device

    Hy i try to use nonoxml.sax on my mobile phone. But i the sdk for my device dosen't provide the package java.netURL, java.io.InputStream nad java.util.Locale. Has anybody rewritten the packages for that purpose? Or can at least somebody tell me how i can make a work around ? Thanks.

    2004-11-04 20:00:02 UTC by qwertz

  • Is this SF project maintained?

    Is this SF project maintained? I've just downloaded version 2.2.3 (not available here) from http://nanoxml.cyberelf.be/ , and it seems that this project points to a homepage http://nanoxml.n3.net/ which does not exist.

    2004-09-09 03:50:57 UTC by danielharvey

  • Followup: RE: NanoXML memory Consumption

    I have submitted a patch that reduces the memory consumption up to 3.5 times! Needed only 2.3MB to parse a document with 10,000 nodes. And performance improved by up to 20%, as well. Stan Berka.

    2004-06-22 18:49:07 UTC by stanberka

  • Footprint reduced, performance improved.

    I have modified the parser to reduce memory footprint and improve performance. Both goals achieved quite nicely. What I did was simple: data structures to keep children and attributes are not instantiated until need. The logic behind it is simple: most nodes or at least 50% have no children (all "leaves" of the tree) and often no attributes. That's it. Rather simple. The modified...

    2004-06-22 18:43:24 UTC by stanberka

  • Followup: RE: Accessing XML files on different drives

    Did you resolve this problem? because I need help to.

    2004-04-23 09:36:59 UTC by zelu

Our Numbers