On Monday, July 9, 2012 2:52:31 AM UTC-7, Henri Gourvest wrote: > > Le 09/07/2012 07:38, dhruvbird a �crit : > > Also, how is this different from node-xml? - > > https://github.com/robrighter/node-xml > > https://github.com/robrighter/node-xml/issues/18 > > node-xml have to read the whole file before decoding, it is a problem > that can't be solved. >
Interesting. I wasn't aware of this drawback - always thought that it had a streaming interface. > node-xml-lite does not have this problem because it is an ANSI parser. > What do you mean by "ANSI parser"? > node-xml expect the xml file is utf8, so if it does not decode the > entire file, characters could be lost. > That's okay, cause I guess it can be hacked to support a different encoding. > > I can see you are interested with xmpp, you could use node-xml-lite to > decode xmpp stream, but you will can't use node-xml because of this. > True. I'm mostly interested because of xmpp stanza parsing. Again, having a node-expat compatible interface would be useful (imho). Thanks! -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
