On Mon, Mar 27, 2006 at 08:46:27PM +0530, Prashant wrote: > > Can Parser be forgiving about the white spaces before <?xml processing > instruction ? > > I saw the code in XMLDocumentScannerImpl and noticed that there no way > around this. I wonder what the motivation is for parser to behave so in > handling the processing instruction.
As you can see from the XML specification (http://www.w3.org/TR/REC-xml/#NT-prolog) if a document has whitespace before the <?xml then it isn't a valid XML document. David -- A debugged program is one for which you have not yet found the conditions that make it fail. -- Jerry Ogdin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
