[Expat-discuss] re: Invalid Token: Carriage return?

Karl Waclawek karl at waclawek.net
Thu Sep 25 12:04:24 EDT 2003


> Well, the file isn't all that important,
> something simple like this does it depending on the file format:
> 
> <Master>
> <transport>
> </transport>
> </Master>

Works fine for me, regardless of which type of line-break I am using.
 
> Parse error at line 2, character 0:
> not well-formed (invalid token)
> 
> I've compiled the expat library into my program. It is used to parse XML
> files used for configuration.

I mean: Post the piece of code that calls the parser.
How are you feeding the input to the parser?

Karl





More information about the Expat-discuss mailing list