You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Lindsey McNerney <li...@yahoo.com> on 2001/06/20 20:45:19 UTC

schema validation with xerces 1.5

I'm attempting to use the Xerces C+ parser, version
1.5 to perform validation using schemas.  I installed
the binary executables, set the system path and tried
to validate the samples provided (personal-schema.xml
and personal.xsd) using both the DOM count and SAX
count applications.  I received errors with both using
the -v=always command.  Has anyone been able to
validate with these files or is there most likely a
problem with my setup?

Thanks for your help.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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


Re: schema validation with xerces 1.5

Posted by Khaled Noaman <kn...@ca.ibm.com>.
Hi Lindsey,

You need to also use the '-n' and '-s' flags to enable
namespace and schema processing respectively.
For example, DOMCount -n -s -v=always personal.xml.

Regards,
Khaled

Lindsey McNerney wrote:

> I'm attempting to use the Xerces C+ parser, version
> 1.5 to perform validation using schemas.  I installed
> the binary executables, set the system path and tried
> to validate the samples provided (personal-schema.xml
> and personal.xsd) using both the DOM count and SAX
> count applications.  I received errors with both using
> the -v=always command.  Has anyone been able to
> validate with these files or is there most likely a
> problem with my setup?
>
> Thanks for your help.
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org