Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] org.w3c.dom.Document.getXmlEncoding() alternative inXOM

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Subhash Chandran <subwiz AT gmail.com>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] org.w3c.dom.Document.getXmlEncoding() alternative inXOM
  • Date: Thu, 11 Dec 2008 10:44:01 -0800

Subhash Chandran wrote:
Thanks Elliotte :-) We did using Stax:

http://code.google.com/p/rest-client/source/browse/trunk/src/main/java/org/wiztools/restclient/xml/XMLUtil.java?spec=svn345&r=345

See the function `getDocumentCharset(final File f)'.


Have you tested that? When I tried to get something similar working with StAX those pieces just didn't work. Maybe you're using a different parser than I was.

--
Elliotte Rusty Harold
elharo AT metalab.unc.edu




Archive powered by MHonArc 2.6.24.

Top of Page