logo       

XQuery with XMLBeans 2.2.0 + Saxon 8.6.1 still gives different result from : msg#00026

text.xml.xmlbeans.user

Subject: XQuery with XMLBeans 2.2.0 + Saxon 8.6.1 still gives different result from 2.1.0 + Saxon 8.1.1


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/informacion[@fecha_realizacion > '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 $informacion[@fecha_realizacion > '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>net.sf.saxon.tinytree.TinyElementImpl@1e152c5</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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise