You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Schreiner Jürg <ju...@winterthur.ch> on 2001/08/09 17:25:00 UTC

crimson linfeed problem

> hello.
> 
> i use the crimson.jar jaxp.jar parser.
> 
> everything works fine if the input xml file is in unix format, that is, linefeeds are 0x0a.
> when using dos format, linefeeds are 0x0d 0x0a, the parser jumps tokens.
> 
> 
> is it a common problem?
> how can i adjust the parser to handle the dos files.
> 
> 
> many thanks in advance
> kind regards 
> 
> juerg schreiner

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Re: crimson linfeed problem

Posted by Edwin Goei <ed...@sun.com>.
Schreiner Jürg wrote:
> 
> > hello.
> >
> > i use the crimson.jar jaxp.jar parser.
> >
> > everything works fine if the input xml file is in unix format, that is, linefeeds are 0x0a.
> > when using dos format, linefeeds are 0x0d 0x0a, the parser jumps tokens.

What do you mean by "jumps tokens"?  If you mean that it reads 0x0d 0x0a
as equivalent to 0x0a, then that is part of the XML spec.

-Edwin

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org