[Glass] XML Parser bug ?

BrunoBB via Glass glass at lists.gemtalksystems.com
Fri Jul 15 10:50:40 PDT 2016


Dale,

The problem is with the newer version of XMLParser.
((XMLDOMParser parse: '<imageAnnotation>
<image filename="" mediatype="" size=""/>
<annotation/>
</imageAnnotation>')
xPath: 'imageAnnotation') 
collection last stringNodes.

((XMLDOMParser parse: '<imageAnnotation><image filename="" mediatype=""
size=""/><annotation/></imageAnnotation>')
xPath: 'imageAnnotation') 
collection last stringNodes

The xml string is the same in both cases but the result is different -->
somehow the line delimiter is causing problems. 

Here is the result (print window):
* AbstractApplicationObjects  510f80e [master]      
github://brunobuzzi/AbstractApplicationObjects:master/repository
* Orbeon                      1.292 [release]       
http://ss3.gemstone.com/ss/OrbeonBridge
* OrbeonBPM                   0.193 [release]       
http://ss3.gemtalksystems.com/ss/OrbeonBPM
* OrbeonBpmWeb                0.171 [release]       
http://ss3.gemtalksystems.com/ss/OrbeonBPM
* OrbeonPersistenceLayer      973e469 [master]      
github://brunobuzzi/OrbeonPersistenceLayer:master/repository
* OrderPreservingDictionary   1.3.5 [release]       
http://smalltalkhub.com/mc/PharoExtras/OrderPreservingDictionary/main
* Sewaf                       5f9b2dd [master]      
github://brunobuzzi/SEWAF:master/repository
* XMLParser                   2.7.6 [release]       
http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main
BpmFlow                       d136aad [master]      
github://brunobuzzi/BpmFlow:master/repository
GsDevKit_home                 03d8efe [master]       $GS_HOME
BitmapCharacterSet            1.2.2 [release]       
http://www.smalltalkhub.com/mc/PharoExtras/BitmapCharacterSet/main
FastCGI Project               0.237 [release]       
http://seaside.gemtalksystems.com/ss/MetacelloRepository
|FileTree|                    263ef78 [gemstone2.4] 
filetree:///home/gemstone/GsDevKit_home/shared/repos/filetree/repository
Gettext-Project               1.6.1 [baseline]      
http://www.smalltalkhub.com/mc/PharoExtras/Gettext/main
|GLASS1|                      f72b9e6 [master]      
filetree:///home/gemstone/GsDevKit_home/shared/repos/glass/repository
Gofer                         1.0.5.4 [release]     
http://seaside.gemtalksystems.com/ss/metacello
|Grease|                      d9c9daa [master]      
filetree:///home/gemstone/GsDevKit_home/shared/repos/Grease/repository
GsApplicationTools            898232b [master]      
github://GsDevKit/gsApplicationTools:master/repository
|Metacello|                   b1678db [master]      
filetree:///home/gemstone/GsDevKit_home/shared/repos/metacello-work/repository
OrbeonBizagiReader2           0-074                 
http://ss3.gemtalksystems.com/ss/OrbeonBridge
OrbeonBPMXpdl                 0-045                 
http://ss3.gemtalksystems.com/ss/OrbeonBPM
OrbeonLDAP                    0-016                 
http://ss3.gemtalksystems.com/ss/OrbeonBridge
OrbeonPersistenceAPI          0-023                 
http://ss3.gemstone.com/ss/OrbeonBridge
OrbeonPersistenceAPIProcess   0-027                 
http://ss3.gemtalksystems.com/ss/OrbeonBridge
OrbeonWeb                     1-054                 
http://ss3.gemtalksystems.com/ss/OrbeonBridge
|RB|                          953d5ff [dev]         
filetree:///home/gemstone/GsDevKit_home/shared/repos/rb/repository
Seaside3                      2984ce1 [gs_master]   
github://GsDevKit/Seaside31:gs_master/repository
|Ston|                        25aace1 [gemstone]    
filetree:///home/gemstone/GsDevKit_home/shared/repos/ston/repository
Swazoo2                       2.2.0.7 [release]     
http://smalltalkhub.com/mc/Swazoo/Swazoo/main
|Tode|                        810ad3f [master]      
filetree:///home/gemstone/GsDevKit_home/shared/repos/tode/repository
XMLWriter                     2.7.0 [release]       
http://www.smalltalkhub.com/mc/PharoExtras/XMLWriter/main
XPath                         1.6.8 [release]       
http://www.smalltalkhub.com/mc/PharoExtras/XPath/main
|ZincHTTPComponents|          811da98 [gs_master]   
filetree:///home/gemstone/GsDevKit_home/shared/repos/zinc/repository
|Zodiac|                      9657392 [gs_master]   
github://GsDevKit/zodiac:gs_master/repository
|PharoCompatibility|                                
filetree:///home/gemstone/GsDevKit_home/shared/repos/PharoCompatibility/repository
|SmalltalkCI|                                       
filetree:///home/gemstone/GsDevKit_home/shared/repos/smalltalkCI/repository




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


More information about the Glass mailing list