logo       

RE: XQuery with XMLBeans 2.2.0 + Saxon 8.6.1 still gives different result f: msg#00027

text.xml.xmlbeans.user

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

Daniel,

That Jira has an SVN revision number where that problem was fixed. Have
you tried building XmlBeans from source to verify it?

Radu

-----Original Message-----
From: Daniel.Rodriguez [mailto:daniel.rodriguez@xxxxxxxxx]
Sent: Saturday, November 18, 2006 8:57 AM
To: user@xxxxxxxxxxxxxxxxxxx
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_formula
rio>
<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-fragmen
t>

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-g
ives-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: user-unsubscribe@xxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx

_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


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

News | FAQ | advertise