W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2002

RE: expat and leading white spaces

From: Sinha, Raj (Raj) <rajsinha@avaya.com>
Date: Thu, 10 Oct 2002 14:06:25 -0400
Message-ID: <8CA1128D59AD27429985B397118CEDDF3E2486@nj7460avexu1.global.avaya.com>
To: "Sinha, Raj (Raj)" <rajsinha@avaya.com>, <www-lib@w3.org>

Hi All

I would like to strip off any leading spaces before any XML files.

I understand the best way to do is to manually strip off any leading
spaces before invoking the parser. Looking at the Libwww code and the
XML integration, I fail (much to my experience with libwww) to
understand where to put the hooks in. I looked at the concept of filters
before and after but it seems that using those is too late to do the

So I supposed I have to do the stripping on the xml stream. Can anyone
help me with this. Do I have to stream conversions .... (iu have no

Any help is appreciated.


-----Original Message-----
From: Sinha, Raj (Raj) 
Sent: Monday, October 07, 2002 11:23 AM
To: www-lib@w3.org
Subject: expat and leading white spaces

I was looking around to see if there might be a way to allow
expat/libwww to accept xml files with leading white spaces before the
standard <?xml version="1.0" ?> line without invoking the
I know that it is invalid to do so but this is one of those quirky
requests to make the parser less forgiving for this case.
Any help appreciated
Received on Thursday, 10 October 2002 14:06:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC