I have two followup questions then: 1. should <a><![CDATA[<sjoerd@acm.org>]]></a> not leave the CDATA intact and not replace the < to < ? Disclaimer: I am not very sure what should be correct. http://www.w3.org/TR/2003/WD-xslt-xquery-serialization-20030502/ states Note: This is phrased to permit an implementor to provide an option that attempts to preserve CDATA sections present in the source document. 2. Should xquery><![CDATA[<sjoerd@acm.org>]]></a> more>MAPI = monetdb@localhost:50000 QUERY = <![CDATA[<sjoerd@acm.org>]]></a> ERROR = !parse error: syntax error, unexpected wrote:
Arjen P. de Vries wrote:
While <a /> is accepted as a query, <![CDATA[<]]> is not. !parse error: syntax error, unexpected
Is that the expected behaviour?
Context: I try to output email addresses as "test
" and failing Arjen
This works:
xquery><a><![CDATA[<sjoerd@acm.org>]]></a> more><> <a><sjoerd@acm.org></a>
-- Sjoerd Mullender
-- ==================================================================== CWI, room C1.16 Centre for Mathematics and Computer Science Kruislaan 413 Email: Arjen.de.Vries@cwi.nl 1098 SJ Amsterdam tel: +31-(0)20-5924306 The Netherlands fax: +31-(0)20-5924312 ===================== http://www.cwi.nl/~arjen/ ====================