Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] NodeFactory and entities

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: adamc AT email.unc.edu
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] NodeFactory and entities
  • Date: Sun, 15 May 2005 22:19:18 -0400

Quoting Luca Passani <passani AT eunet.no>:

Hello,

is there a way to trap entities with NodeFactory?

I am using NodeFactory in conbibation with tagsoup and '&nbsp;' turns up as a funny
(probably binary) character when I re-render the document out of its object model: ?

This specific 'error' often results from an encoding problem; in a nutshell,
it's highly likely that your output encoding (from XOM) is UTF-8 and the
application you're using to view the document (e.g. a web browser) thinks
it's ISO-8859-1.

See http://www.dpawson.co.uk/xsl/sect2/nbsp.html#d7115e207





Archive powered by MHonArc 2.6.24.

Top of Page