Re: unescaping markup

On 5/8/07, Alex Milowski <alex@milowski.org> wrote:
> In theory, the same is true for RSS.  So, for example, you could write
> an XProc pipeline that checks whether all the description elements
> are correctly escaped XHTML by using unescape-markup and try/catch.

In theory. But like they say, in practice theory often doesn't hold. I
am trying to think of cases where I am parsing escaped XHTML embedded
in XML. In most cases, I can't assume the XHTML is well-formed, and
have to use something like JTidy/TagSoup. So I agree with Norm: I
think it would be convenient to have the option
"force-markup-to-be-well-formed" right there.

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/

Received on Monday, 14 May 2007 13:17:30 UTC