cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Streaming strings in JXTemplate
Date Thu, 12 May 2005 12:22:47 GMT
Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto:

> what do we do with
> <jx:out value="<root><tag>broken</mispelledtag></root>" parse="xml"/>
>
> 1. generate SAX events - if value is invalid this breaks the whole view
> 2. parse to DOM, catch exceptions, use @lenient to throw or silently 
> omit.

Either 1 or give users a choice. Defaulting to DOM might be too 
resource-intensive.

	Ugo

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Source.zone: http://sourcezone.info/
Wine & Food Blog: http://www.divinocibo.it/

Mime
View raw message