[Glass] XML Parser bug ?

BrunoBB via Glass glass at lists.gemtalksystems.com
Fri Jul 15 09:53:15 PDT 2016


Hi,

While migrating from GS 3.29 to GS 3.3 i have a couple of test that are
failing on 3.3.

GS 3.29 - xml parser monty.330
GS 3.3 - xml parser monty.354

These XML parser answer a different result for the same operations and this
is causing my tests to fail.

For example:
(XMLDOMParser parse: 
'<imageAnnotation xmlns:xh="http://www.w3.org/1999/xhtml" 
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ev="http://www.w3.org/2001/xml-events" 
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
 xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
xmlns:exf="http://www.exforms.org/exf/1-0" 
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
xmlns:saxon="http://saxon.sf.net/" 
xmlns:sql="http://orbeon.org/oxf/xml/sql"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
<image filename="" mediatype="" size="" />
<annotation />
</imageAnnotation>') stringNodes.

In both cases is an empty collection but:
((XMLDOMParser parse: 
'<imageAnnotation xmlns:xh="http://www.w3.org/1999/xhtml" 
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ev="http://www.w3.org/2001/xml-events" 
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
 xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
xmlns:exf="http://www.exforms.org/exf/1-0" 
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
xmlns:saxon="http://saxon.sf.net/" 
xmlns:sql="http://orbeon.org/oxf/xml/sql"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
<image filename="" mediatype="" size="" />
<annotation />
</imageAnnotation>') 
xPath: 'imageAnnotation') collection last stringNodes

In GS 3.29 (monty.330) answer an empty XMLNodeList.
In GS 3.3 (monty.354) answer a XMLNodeList with 3 elements. (this causing my
test to fail)

Any idea what is going on ? (i'm still investigating this issue)

regards,
bruno





--
View this message in context: http://forum.world.st/XML-Parser-bug-tp4906721.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list