axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [Axis2] Guththila Fails for '/'
Date Tue, 25 Oct 2005 05:24:35 GMT
Dinesh Premalal wrote:

>Hi,
>
>I tried with Guththila. "v.xml" is your xml file ;)
>
>dinesh@dinesh:~/Projects/Guththila-c-p3/test$ ./test v.xml
><ns1:Root xmlns:ns2="http://www.opensource.lk"
>xmlns:ns1="http://www.apache.org" >
>    <ns2:developers xmlns:ns3="http://www.whatever.com" >
>        <ns3:developer>
>            <name>Davanum Srinivas</name>
>            <id>dims</id>
>            <email>dims@apache.org</email>
>            <organization>Computer Associates</organization>
>        </ns3:developer>
>        <ns3:developer>
>            <name>Glen Daniels</name>
>            <id>glen</id>
>            <email>glen@thoughtcraft.com</email>
>            <organization>Sonic Software</organization>
>        </ns3:developer>
>        <ns3:developer>
>            <name>Sanjiva Weerawarana</name>
>            <id>sanjiva</id>
>            <email>sanjiva@opensource.lk</email>
>            <organization>IBM/LSF</organization>
>        </ns3:developer>
>        <ns3:developer>
>            <name>Eran Chinthaka</name>
>            <id>chinthaka</id>
>            <email>chinthaka@apache.org</email>
>            <organization>LSF/Eurocenter DDC</organization>
>        </ns3:developer>
>        <ns3:developer>
>            <name>Jaliya Ekanayake</name>
>            <id>jaliya</id>
>            <email>jaliya@opensource.lk</email>
>            <organization>Virtusa/LSF</organization>
>        </ns3:developer>
>    </ns2:developers>
></ns1:Root>dinesh@dinesh:~/Projects/Guththila-c-p3/test$
>
>
>For me Guththila parse it with out any problem. 
>
>http://www.cse.mrt.ac.lk/~premalwd/Projects/Guththila-c-p3.tar.gz
>
>Under Guththila Directory there are some test cases. "test" is a
>executable file which get xml files as command line inputs. Please look
>at it , sometimes it might help.
>
>thanks,
>Dinesh
>
>On Tue, 2005-10-25 at 09:41 +0600, Samisa Abeysinghe wrote:
>  
>
>>Guththila fails to parse the the following XML, because there is a '/' 
>>char in text "Virtusa/LSF" :(
>>
>>(Thanks Nandika on the tip where it crashes :) )
>>Note: the following content was taken from Axis2 Java test xml files.
>>
>><ns1:Root xmlns:ns1="http://www.apache.org"
>>    xmlns:ns2="http://www.opensource.lk">
>>    <ns2:developers xmlns:ns3="http://www.whatever.com">
>>        <ns3:developer>
>>            <name>Davanum Srinivas</name>
>>            <id>dims</id>
>>            <email>dims@apache.org</email>
>>            <organization>Computer Associates</organization>
>>        </ns3:developer>
>>        <ns3:developer>
>>            <name>Glen Daniels</name>
>>            <id>glen</id>
>>            <email>glen@thoughtcraft.com</email>
>>            <organization>Sonic Software</organization>
>>        </ns3:developer>
>>        <ns3:developer>
>>            <name>Sanjiva Weerawarana</name>
>>            <id>sanjiva</id>
>>            <email>sanjiva@opensource.lk</email>
>>            <organization>IBM/LSF</organization>
>>        </ns3:developer>
>>        <ns3:developer>
>>            <name>Eran Chinthaka</name>
>>            <id>chinthaka</id>
>>            <email>chinthaka@apache.org</email>
>>            <organization>LSF/Eurocenter DDC</organization>
>>        </ns3:developer>
>>        <ns3:developer>
>>            <name>Jaliya Ekanayake</name>
>>            <id>jaliya</id>
>>            <email>jaliya@opensource.lk</email>
>>            <organization>Virtusa/LSF</organization>
>>        </ns3:developer>
>>    </ns2:developers>
>></ns1:Root>
>>
>>Any help to fix the bug would be great .
>>
>>Thanks,
>>Samisa...
>>    
>>
>
>
>  
>
I am using the latest SVN code with fixes for space handling etc. That 
breaks with this XML.

Samisa...

Mime
View raw message