You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Joachim Deelen <jo...@deelen.de> on 2003/05/28 02:09:41 UTC
Found Error after porting
Hi again,
I did some more testing on my OS/2 port of Version 2.2.0. After running DOMCount.exe i get the following error:
Fatal Error at file D:\Projekte\xml-xerces\os2-binary\bin\test.xml, line 3, char 9
Message: Expected comment or processing instruction
The content of the file is very simple:
<?xml version="1.0" standalone="no"?>
<start>Test</start>
<!-- -->
I get this error with every xml-file. It seems to me, that there is something wrong with recognizing the EOF ?? If i delete line 3 the error moves to the end of line 2.
If its not an EOF problem, maybe it has something to do with character encoding. I've tried different ones but with no success.
regards
Joachim
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Found Error after porting
Posted by Joachim Deelen <jo...@deelen.de>.
Hi,
I think it was too late last night :-)
I've found the error. It was not within Xerces or the OS/2 port. It simply was the fact, that after the end of the root-tag, an additional line with a comment followed. I've moved this comment
between the <start> </start> and now it works fine.
I thought, that comments may start at any position within the file, even after the last end-tag. If this is true, then this may be a bug, if not, then forget this message ;-)
regards
Joachim
On Wed, 28 May 2003 02:09:41 +0200 (CEST), Joachim Deelen wrote:
>Hi again,
>
>I did some more testing on my OS/2 port of Version 2.2.0. After running DOMCount.exe i get the following error:
>
>Fatal Error at file D:\Projekte\xml-xerces\os2-binary\bin\test.xml, line 3, char 9
> Message: Expected comment or processing instruction
>
>The content of the file is very simple:
><?xml version="1.0" standalone="no"?>
><start>Test</start>
><!-- -->
>
>I get this error with every xml-file. It seems to me, that there is something wrong with recognizing the EOF ?? If i delete line 3 the error moves to the end of line 2.
>
>If its not an EOF problem, maybe it has something to do with character encoding. I've tried different ones but with no success.
>
>regards
>Joachim
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org