[jdom-interest] SAXBuilder adds a newline!? - False alarm.
brett at newInstance.com
Tue Jul 17 10:14:27 PDT 2001
> If i read the formatted (with LF+CR) template files using SAXBuilder and
> then try to parse them using DOM (not jdom!) i get errors because the
How can you read it in using SAXBuilder and then "parse" using DOM? That
doesn't make sense. The result of SAXBuilder is a JDOM Document, parsed.
Maybe you can explain a little more thoroughly what you are doing?
> of child-nodes DOM thinks it has are more than in reality due to newlines
> added by SAXBuilder (XMLOutputter is not involved; i used XMLOutputter to
> look at what was being read).
Enhydra Strategist: http://www.enhydra.org
Lutris Technologies: http://www.lutris.com
O'Reilly Author: http://www.newInstance.com
More information about the jdom-interest