[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-j-dev
Subject: Re: How to compare Documents? Existing library/method available? or
From: Rob Davis-5 <tech () robertjdavis ! co ! uk>
Date: 2008-12-10 11:53:06
Message-ID: 20933784.post () talk ! nabble ! com
[Download RAW message or body]
Unfortunately this did not work but I have another solution - see other
thread:
http://www.nabble.com/Filtering-whitespace-outside-of-xml-elements-using-LSParserFilter-td20918689.html#a20933774
More detail:
When I tried normalizeDocument() I got an LSException with "Premature end of
file":
Document mydoc = methodToGetDocument();
// at this point we have a Document ready for use
mydoc.normalizeDocument();
Sometimes I didn't get the Exception but my original problem was not solved
- the whitespaces were still there.
--
View this message in context: \
http://www.nabble.com/How-to-compare-Documents--Existing-library-method-available--or-use-DOMTreeWalker--tp20856968p20933784.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic