Java Mailing List Archive

http://www.junlu.com/

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

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

Horst Gaussmann

2004-10-06

Replies:

Hello,

i'am using the jdom implementation excessive iside of orbeon's presentation
server and in this environment some problems poped up.

1.) I cannot use the SAXOutputter's outputFragment() Method's because there
is now posibility (public method)
  to set a JDOMLocater. Without that i got NullPointerExceptions. So there
should be a handling for this Problem.
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.

3.) Sometimes the SAXOutputter sends prefixMappings with null values. So
other SAXHandler (not JDOM) could not work together with SAXOuttputter.

Hope this are some stimulations to increase the quality of jdom.

Regards yaris


 
_______________________________________________
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.