Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] Some Problems using JDOM inside of ContenHandler
 based Pipelines

Elliotte Rusty Harold

2004-10-06

Replies:

Horst.Gaussmann@(protected):

> 2.) If i send some whitespaces before the root node to the SAXHandler i get
> an exception (something with namespaces). But i think that documents
>   like:
>   --------- snip ---------
>   <?xml version="1.0">
>  
>   <root/
>  
>   --------- snap ---------    
>   should be parsed.


White space before the root element is not passed to either characters()
or ignorableWhiteSpace(). These methods are intended only for white
space within the root element.

--
Elliotte Rusty Harold
elharo@(protected)
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.