Ugo Cei wrote:
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.
What if @lenient="true" then and only then parse to dom to avoid view exceptions?

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to