[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    Re: xml validation against xsd- validation state is always 0.
From:       Alberto Massari <amassari () datadirect ! com>
Date:       2006-11-15 8:17:12
Message-ID: NTEXFE01XI3acH0xxDE0000098a () NTEXFE01 ! bedford ! progress ! com
[Download RAW message or body]

At 20.27 14/11/2006 -0800, kamakshi wrote:

>Hi,
>I tried using -v=always , got a list of errors and the validation state was
>1... If u dont mind can u send me the SAXPrint folder with which u have
>worked, so that let me check, whether the problem is with the code i am
>using or not.

I have used the official binary distribution for Windows of Xerces 2.7...

Alberto

>Thank u
>
>Alberto Massari wrote:
> >
> > 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: c-dev-unsubscribe@xerces.apache.org
> >> >>For additional commands, e-mail: c-dev-help@xerces.apache.org
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> >> > For additional commands, e-mail: c-dev-help@xerces.apache.org
> >> >
> >> >
> >> >
> >>
> >>--
> >>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: c-dev-unsubscribe@xerces.apache.org
> >>For additional commands, e-mail: c-dev-help@xerces.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> > For additional commands, e-mail: c-dev-help@xerces.apache.org
> >
> >
> >
>
>--
>View this message in context: 
>http://www.nabble.com/xml-validation-against-xsd--validation-state-is-always-0.-tf2629039.html#a7351942
>Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic