Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > XML::Parser error

Reply
Thread Tools

XML::Parser error

 
 
pj
Guest
Posts: n/a
 
      08-26-2004
Hi, I am getting the following error
----------------------------------------------------------------
not well-formed (invalid token) at line 1, column 0, byte 0 at
/vdt/perl/lib/i386-linux-thread-multi/XML/Parser.pm line 187
----------------------------------------------------------------
when I tried to parse the XML file using XML:arse::EasyTree

The xml file I am trying to parse looks like
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE GANGLIA_XML [
<GANGLIA_XML VERSION="2.5.5" SOURCE="gmetad">
.....

and I have no idea why it's complaining about the line 1, which is
<?xml version="1.0" encoding="ISO-8859-1"?>

any ideas?
thanks in advance
 
Reply With Quote
 
 
 
 
Eric Bohlman
Guest
Posts: n/a
 
      08-26-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (pj) wrote in
news:(E-Mail Removed) om:

> Hi, I am getting the following error
> ----------------------------------------------------------------
> not well-formed (invalid token) at line 1, column 0, byte 0 at
> /vdt/perl/lib/i386-linux-thread-multi/XML/Parser.pm line 187
> ----------------------------------------------------------------
> when I tried to parse the XML file using XML:arse::EasyTree
>
> The xml file I am trying to parse looks like


"Looks like" or "is"?

> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE GANGLIA_XML [
> <GANGLIA_XML VERSION="2.5.5" SOURCE="gmetad">
> ....
>
> and I have no idea why it's complaining about the line 1, which is
> <?xml version="1.0" encoding="ISO-8859-1"?>


No it isn't; that's line 0. What comes after isn't well-formed, since a
plain start tag isn't allowed inside an internal DTD subset.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xffc Thread 0x228 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-30-2006 03:16 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error JavaQueries Java 1 03-01-2005 06:30 PM



Advertisments