[nodejs] Re: [ANN] node-xml-lite

2012-07-08 Thread dhruvbird
Why don't you make it compatible with the node-expat interface. It's sure to drive up adoption. Plus since this is pure javascript, it can be used from within a browser. Also, how is this different from node-xml? - https://github.com/robrighter/node-xml On Sunday, July 8, 2012 6:48:14 AM UTC-7

[nodejs] Re: [ANN] node-xml-lite

2012-07-09 Thread Henri Gourvest
Le 09/07/2012 07:38, dhruvbird a écrit : Why don't you make it compatible with the node-expat interface. It's sure to drive up adoption. I follow my own xpath ;) Plus since this is pure javascript, it can be used from within a browser. No, it is only for Node.Js, I need to use the Buffer & Fi

[nodejs] Re: [ANN] node-xml-lite

2012-07-09 Thread Henri Gourvest
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. node-xml-lite does not ha

[nodejs] Re: [ANN] node-xml-lite

2012-07-09 Thread dhruvbird
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 f

[nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread Henri Gourvest
Le 10/07/2012 08:02, dhruvbird a écrit : What do you mean by "ANSI parser"? ANSI = 1 byte/character Unicode in Js = 2 byte/character (UCS2) It is an ANSI parser because it can parse inputs from a Buffer that is an array of bytes. Most of times XML is encoded in UTF8. UTF8 is a special ANSI co

[nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread Henri Gourvest
Le 10/07/12 09:54, Ryan Schmidt a écrit : A curious and highly personal definition to be sure. what name should I use instead ? ASCII ? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message becau

[nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread dhruvbird
Why not utf-8? I mean javascript string are unicode by default, so what's wrong with supporting international characters (this is probably very important). On Tuesday, July 10, 2012 4:25:49 AM UTC-7, Henri Gourvest wrote: > > Le 10/07/12 09:54, Ryan Schmidt a �crit : > > A curious and highly

[nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread dhruvbird
On Tuesday, July 10, 2012 12:42:35 AM UTC-7, Henri Gourvest wrote: > > > If you want to decode a xml document by chunks, you can cut a character, > if the partial chunk is decoded from UTF8 to Unicode to be parsed by > node-xml there will be a character lost, ouch! > Sorry, but I didn't under

[nodejs] Re: [ANN] node-xml-lite

2012-07-11 Thread Henri Gourvest
Le 10/07/2012 19:04, dhruvbird a écrit : Why not utf-8 It support UTF-8, I don't know why you think it doesn't do -- 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

[nodejs] Re: [ANN] node-xml-lite

2012-07-11 Thread Henri Gourvest
I'd just suggest that you explain it as such at the beginning of your read me, and discard the "Unicode", "ANSI" or "ASCII" labels, since that's not what they convey. The first paragraph of your read me should be written to give users an understanding of what your module is for and to clearly d

Re: [nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread Ryan Schmidt
On Jul 10, 2012, at 02:42, Henri Gourvest wrote: > Le 10/07/2012 08:02, dhruvbird a écrit : >> What do you mean by "ANSI parser"? > > ANSI = 1 byte/character A curious and highly personal definition to be sure. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joy

Re: [nodejs] Re: [ANN] node-xml-lite

2012-07-10 Thread Alan Gutierrez
On Tue, Jul 10, 2012 at 10:09:57AM -0700, dhruvbird wrote: > > On Tuesday, July 10, 2012 12:42:35 AM UTC-7, Henri Gourvest wrote: > > > > > > If you want to decode a xml document by chunks, you can cut a character, > > if the partial chunk is decoded from UTF8 to Unicode to be parsed by > > node

Re: [nodejs] Re: [ANN] node-xml-lite

2012-07-11 Thread Ryan Schmidt
On Jul 11, 2012, at 02:04, Henri Gourvest wrote: > Le 10/07/2012 19:04, dhruvbird a écrit : >> Why not utf-8 > It support UTF-8, I don't know why you think it doesn't do You are currently calling node-xml-lite an "XML ANSI/Unicode SAX parser". The "Unicode" portion of that description is redun