By the way, I tried this test program with Guththila code in SVN, and it works.
But when I use this through OM, it fails. :(

Thanks,
Samisa...

Dinesh Premalal wrote:

Hi,

I tried with Guththila. "v.xml" is your xml file ;)

[EMAIL PROTECTED]:~/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>[EMAIL PROTECTED]</email>
           <organization>Computer Associates</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Glen Daniels</name>
           <id>glen</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>Sonic Software</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Sanjiva Weerawarana</name>
           <id>sanjiva</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>IBM/LSF</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Eran Chinthaka</name>
           <id>chinthaka</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>LSF/Eurocenter DDC</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Jaliya Ekanayake</name>
           <id>jaliya</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>Virtusa/LSF</organization>
       </ns3:developer>
   </ns2:developers>
</ns1:Root>[EMAIL PROTECTED]:~/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>[EMAIL PROTECTED]</email>
           <organization>Computer Associates</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Glen Daniels</name>
           <id>glen</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>Sonic Software</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Sanjiva Weerawarana</name>
           <id>sanjiva</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>IBM/LSF</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Eran Chinthaka</name>
           <id>chinthaka</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>LSF/Eurocenter DDC</organization>
       </ns3:developer>
       <ns3:developer>
           <name>Jaliya Ekanayake</name>
           <id>jaliya</id>
           <email>[EMAIL PROTECTED]</email>
           <organization>Virtusa/LSF</organization>
       </ns3:developer>
   </ns2:developers>
</ns1:Root>

Any help to fix the bug would be great .

Thanks,
Samisa...



Reply via email to