ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Data with lack of some bits when using PerlSAX
by Y.Takahashi other posts by this author
May 30 2006 6:09AM messages near this date
view in the new Beta List Site
Re: XML::LibXML error handling for non-UTF-8 data | Re: Data with lack of some bits when using PerlSAX
& XSLT Hi,

 Im having a trouble with reading a huge size xml file
using PerlSAX.

<Phenomenon> 
  Some characters are extracted from xml with a lack of some bits
  on its head. (The xml file size is 1216021 bytes.)

   ex.1) in xml : -0.57457874767911E-08
        after extracted : 7911E-08   (first 13 bits are missing)
   ex.2) in xml : 0.1131E-08
        after extracted : -08   (first 7 bits are missing)

<Analysis> 
  By od-dumping (of unix), it can be seen that these strange data
  always locate in each 100,000 bits in octal number. When tags come
  in the line, any problems don't occur.

  ex.1)
1677760   N   T   >    -   0   .   5   7   4   5   7   8   7   4   7   6
1700000   7   9   1   1   E   -   0   8   <   /   G   _   C   O   E   F
  ex.2)
3677760   C   I   E   N   T   _   S   D   >    0   .   1   1   3   1   E
3700000   -   0   8   <   /   G   _   C   O   E   F   F   I   C   I   E


 Has anyone experienced this problem?
 Is this a problem coming from the performance of OS or hardware?

Regards,
Yoshi

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Y.Takahashi
Petr Cimprich
Y.Takahashi
Richard E. Rathmann

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved