Antwort: Re: [xml] Huge chunks in the callback function sax.characters



Daniel,

mercy. I should clean by glasses.

Just for a test I made an extract from the xml-file with a very big chunk
of data  and ran it throught testSAX with the following result:

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElement(tab)
SAX.startElement(data, rows='83', cols='48')
SAX.characters(35385,16630876.08,36965,85881,, 7863)
SAX.characters(92.39,90,624,305.50,56.00,1654, 4000)
SAX.characters(277453.52,14242854.95,50090,36, 4000)
SAX.characters(1596.59,22188570.44,22044702.8, 4000)
SAX.characters(8792.00,44,76,35.75,12.75,5554, 4000)
SAX.characters(474.00,7,21,16.00,3.00,1966670, 4000)
SAX.characters(,19900332.25,14155,2530397.20,, 929)
SAX.endElement(data)
SAX.endElement(tab)
SAX.endDocument()

As you can see, in the first function call of characters the length is
7863. Cool. I'm wondering a little bit.
Anyway, thanks a lot for your help!!!

Cheers
Hans






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]