in reply to XML::Parser SAX error
is telling you that your xml data has a problem, and can't be parsed as xml. Since you haven't posted exactly what you used as input, I have to ask: does the xml data file that you actually use have a hyphen in front of the first open tag? I ask because the OP data sample has:
When I copied your data sample (and added a couple missing end-tags) and put it into an old xml parsing tool, I always got an error. Removing the hyphen got rid of the error.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ICECAT-interface SYSTEM "http://data.icecat.biz/dtd/files.in +dex.dtd"> <!-- source: ICEcat.biz 2011 --> -<ICECAT-interface ... ^ |___ the hyphen there is a problem
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::Parser SAX error
by bcnagle (Novice) on Jul 16, 2011 at 05:30 UTC | |
by graff (Chancellor) on Jul 16, 2011 at 06:04 UTC | |
by bcnagle (Novice) on Jul 16, 2011 at 07:24 UTC | |
by bcnagle (Novice) on Jul 16, 2011 at 05:33 UTC |