Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Base64 data

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Perry.Hoekstra AT mpls.frb.org
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Base64 data
  • Date: Wed, 07 Sep 2005 14:22:43 -0400

You're way, way off base. XML is about text. XOM is about XML. XOM will give you the text content of any element you like. It makes no effort to interpret that text. That's up to you. There's no reason to expect XOM to decode the base-64 text for you any more than it would turn the string "12" into the int 12 or the string "2005-09-07" into a Date object. There are an infinite number of different possible types that may be encoded in the text of the XML document. Base-64 is just one more possibility for which XOM offers no particular support.

You'll need to take the text XOM gives you and pass it to some method that decodes that as Base-64 data. However, XOM won't do that for you.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page