I ran the following XQuery with xmlbeans 2.2.0 + Saxon 8.6.1 : declare namespace p='http://www.quyne.org/portalhum/contactenos/model/xml'; for $formulario in /p:modulo_soporteTecnico/formularios/formulario where $formulario/[EMAIL PROTECTED] > '2005-01-01'] return <formulario> <nombre_formulario>{data($formulario/nombre_formulario)}</nombre_formulario> <destinatario>{data($formulario/destinatario)}</destinatario> <campos_usados>{data($formulario/campos_usados)}</campos_usados> { for $informacion in $formulario/informacion where [EMAIL PROTECTED] > '2005-01-01'] return $informacion } </formulario>
http://www.nabble.com/file/4218/contactenos.xml contactenos.xml With Saxon 8.1.1 I get the correct output. With Saxon 8.6.1 I get : [java] <xml-fragment>[EMAIL PROTECTED]</xml-fragment> I tried to google this issue and only got a similar problem in http://issues.apache.org/jira/browse/XMLBEANS-275?page=all Jira . http://www.nabble.com/file/4218/contactenos.xml contactenos.xml Thanks -- View this message in context: http://www.nabble.com/XQuery-with-XMLBeans-2.2.0-%2B-Saxon-8.6.1-still-gives-different-result-from-2.1.0-%2B-Saxon-8.1.1-tf2660655.html#a7421227 Sent from the Xml Beans - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]