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

Elliotte Harold elharo at metalab.unc.edu
Wed Oct 6 03:39:03 PDT 2004


Horst.Gaussmann at partner.commerzbank.com wrote:

> 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 at metalab.unc.edu


More information about the jdom-interest mailing list