Hi, Pat D wrote:
>_brian_d_foy wrote:
>
>> Hello,
>> _brian_d_foy wrote:
>
>> > how is this different from the similar sounding things already in
>> > XML::*?
>
>> independence: The package is small and has no external dependencies
>> or requirements.
>
>what's the limitations on parsing, then?
>
I'm not certain I understand the question but the current limitations
are mainly system dependant (memory etc.).
I've run a quick script using the latest version of the module,
something like this:
use XML::MiniXML::Document;
$xmlDoc = XML::MiniXML::Document->new();
$xmlDoc->fromFile('./REC-xml-19980210.xml');
print $xmlDoc->toString();
which simply reads in a (large) XML file (which you can find at
http://www.w3.org/TR/1998/REC-xml-19980210.xml ) and parses it.
I then request the document be stringified. This is a good test of the
parsing abilities as the XML is completely decomposed then recreated.
I've attached the resulting XML, you'll notice that the module does a
pretty good job, even cleaning up the original code somewhat (where
possible without affecting the values).
>--
>brian d foy (one of many PAUSE admins), http://pause.perl.org
>
>
Regards,
--
Pat Deegan,
http://www.psychogenic.com/
REC-xml-19980210.minixml.bz2
Description: BZip2 compressed data
