I have two followup questions then: 1. should <a><![CDATA[<[EMAIL PROTECTED]>]]></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[<[EMAIL PROTECTED]>]]></a> more>MAPI = [EMAIL PROTECTED]:50000 QUERY = <![CDATA[<[EMAIL PROTECTED]>]]></a> ERROR = !parse error: syntax error, unexpected <![CDATA[ on line 1, column 9 (next token is `<![CDATA[') !parse error: XQuery parsing failed also have been allowed - a bit weird if it is allowed inside another element? Cheers. Arjen On 12/07/07, Sjoerd Mullender <[EMAIL PROTECTED]> wrote: > Arjen P. de Vries wrote: > > While > > <a /> > > is accepted as a query, > > <![CDATA[<]]> > > is not. > > !parse error: syntax error, unexpected <![CDATA[ on line 1, column 9 > > (next token is `<![CDATA[') > > !parse error: XQuery parsing failed > > > > Is that the expected behaviour? > > > > Context: I try to output email addresses as "test <[EMAIL PROTECTED]>" and > > failing > > > > Arjen > > > > This works: > > xquery><a><![CDATA[<[EMAIL PROTECTED]>]]></a> > more><> > <a><[EMAIL PROTECTED]></a> > > > -- > Sjoerd Mullender > > > -- ==================================================================== CWI, room C1.16 Centre for Mathematics and Computer Science Kruislaan 413 Email: [EMAIL PROTECTED] 1098 SJ Amsterdam tel: +31-(0)20-5924306 The Netherlands fax: +31-(0)20-5924312 ===================== http://www.cwi.nl/~arjen/ ==================== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-developers
