Thanks for testing this on SunOS. As for the error message, I'm still mystified. According to the my understanding of XML, the doc is well-formed. Of course, I could be missing something. However, if (in the test document below) you change the tag named "Head-Interface-or-Protocol-Group" to another valid tag name such as "aTag", the parser doesn't complain (at least running XML::Parser 2.20 on MacPerl). <?xml version="1.0" encoding="UTF-8"?> <Class> <Interfaces-Implemented-or-Adopted-Protocols-Container> <Interface-or-Protocol-Group-Container> <Head-Interface-or-Protocol-Group>EOPropertyListEncoding</Head-Interface-or-Protocol-Group> </Interface-or-Protocol-Group-Container> </Interfaces-Implemented-or-Adopted-Protocols-Container> </Class> So, that might suggest that "Head-Interface-or-Protocol-Group" isn't a valid XML tag name, but I can't see any problem with it with regard to the XML spec. (http://www.textuality.com/sgml-erb/WD-xml-lang.html). Very frustrating! Matt "Paul J. Schinder" wrote: > On Mon, Jul 19, 1999 at 12:25:53PM -0400, Chris Nandor wrote: > } At 12.18 -0400 1999.07.19, Matt Morse wrote: > } >I'm not sure of a good way to isolate the problem, but (after many > } >reboots), I've learned that if I rename the > } >Head-Interface-or-Protocol-Group tag, the problem goes away. (However, > } >I'm not in control of the tag names, so renaming isn't an option.) > } >Also, if another element is injected inside the > } >Head-Interface-or-Protocol-Group element, the parser doesn't crash. > } > > } >Many of these tags are long and have hyphens, so I wonder if that could > } >be a problem (although I believe they are valid XML tag names). > } > } I don't know much about the module, but did you try it on another platform? > > Here's what happens on SunOS 4.1.4, using XML::Parser 2.23 (since 2.24 is > busted): > > leprss% !per > perl xml.pl > test.xml not well-formed: > > not well-formed at line 7, column 0, byte 360 at /usr/local/lib/perl5/site_perl/5.005/sun4-sunos/XML/Parser.pm line 153 > > I know nothing about XML, but if the module is to be believed, > something is wrong with it. > > } > } -- > } Chris Nandor mailto:pudge@pobox.com http://pudge.net/ > } %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) > } > } ==== Want to unsubscribe from this list? > } ==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org > } > > -- > Paul Schinder > schinder@pobox.com ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org