At 23.05 04/03/2004 +0100, David --- wrote:
Hello,
I'm getting a strange error message parsing an xml
file with the SAX2XMLReader parser.
The error is just below, the beg of the xml file just
after. Can anybody help me please ?? By the way does
anybody know of an irc channel for xerces ???

thanks,
david

To see the full error message you have to transcode it into the local code page; casting it to be a char* will only display the first letter of it.


Trying to guess what the error is, and looking at the line/col information, it could be that you have set the enableValidation property to "always". Can you post the lines of code you use to set up the parser?

Alberto


>
>SAXParser instantiated ok
>Trying to parse example.xml...

Error parsing xml file at, line 1, char 15
  Message: U

Error parsing xml file at, line 2, char 17
  Message: U

Error parsing xml file at, line 2, char 25
  Message: A

Error parsing xml file at, line 3, char 7
  Message: U

#######
Xmlfile

<PubmedArticle>
<MedlineCitation Status="Publisher">
    <PMID>14676294</PMID>
    <DateCreated>
        <Year>2003</Year>
        <Month>Dec</Month>
        <Day>16</Day>
    </DateCreated>
    <Article>
        <Journal>
            <ISSN>0022-1007</ISSN>
            <JournalIssue>
                <Volume>198</Volume>
                <Issue>12</Issue>
                <PubDate>
                    <Year>2003</Year>
                    <Month>Dec</Month>
                    <Day>15</Day>
                </PubDate>






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis gr�ce � Yahoo! Messenger !T�l�chargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to