At 04.39 14/11/2006 -0800, kamakshi wrote:
Hi ,
I am sorry, i tried removing the expense-item elemnt from the xsd and
tried, but it does not shows any error...
Inorder to make sure whether validation is taking place or not i even tried
printing, parser->getDoValidation(), even it returns 0.....
I dont understand y its not coming..
I don't understand why we are getting different results: can you try
using an unmodified version of the sample? Have you tried using -v=always ?
Alberto
Alberto Massari wrote:
>
> I made a change to the xsd file to disallow the expense-item element,
> and SAXPrint printed the error. What are you expecting from running
> SAXPrint?
>
> Alberto
>
> At 04.01 14/11/2006 -0800, kamakshi wrote:
>
>>Hi,
>>I tried executing the SAXPrint to validate with xsd and print the entire
>>xml.
>>the command for execution that i gave :
>>./SAXPrint -v=auto -s -f -n
>>/apps/venkatrp/xerces-c-src_2_7_0/samples/SCMPrint/ExpReport.xml
>>in this case
>>the valscheme:2
>>doNameSpace:1
>>schema1
>>the parse validation state:0
>>and the xml file gets printed.
>>y it isnt validating? I didnot make any changes in the SAXPrint.cpp.......
>> Can anybody help me with it??
>>Thank u.......
>>--
>>View this message in context:
>>http://www.nabble.com/xml-validation-against-xsd--validation-state
-is-always-0.-tf2629039.html#a7336280
>>Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/xml-validation-against-xsd--validation-state-is-always-0.-tf2629039.html#a7336812
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]