You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Ben Stover <bx...@yahoo.co.uk> on 2007/12/27 18:23:10 UTC

Is there a command line validation with Xerces for XML doc against XSD schema ?

I wonder wether there is a way to call Xerces directly from the command line in order to validate a  XML doc
against an (external) XSD schema file.

Can I do this (with either C++ or Java Xerces) ?

It seems to me that Xerces is created only for usage calls from Java/C++

If yes: where are the command line options listed?

If not: Maybe someone wrote a short and simple wrapper program which enables command line access for validations?
Does such (short !) program (for WinXP) exist ?

Thank you
Ben






Re: Is there a command line validation with Xerces for XML doc against XSD schema ?

Posted by Keith Mendoza <pa...@gmail.com>.
One of the sample applications that come with XercesC can be used to do
this.

Keith

On Dec 30, 2007 12:22 AM, Pavel Ilyashenko <pa...@amdocs.com>
wrote:

> How can I operate Xersec validation for XML doc against XSD schema from
> command line?
> Thanks in advance.
>
> Best Regards
> Pavel Ilyshenko
>  +297-8-62-40173
>
> AMDOCS > INTEGRATED CUSTOMER MANAGEMENT
>
>
>
> -----Original Message-----
> From: Ben Stover [mailto:bxstover@yahoo.co.uk]
> Sent: December 27, 2007 19:23
> To: c-users@xerces.apache.org
> Subject: Is there a command line validation with Xerces for XML doc
> against XSD schema ?
>
> I wonder wether there is a way to call Xerces directly from the command
> line in order to validate a  XML doc
> against an (external) XSD schema file.
>
> Can I do this (with either C++ or Java Xerces) ?
>
> It seems to me that Xerces is created only for usage calls from Java/C++
>
> If yes: where are the command line options listed?
>
> If not: Maybe someone wrote a short and simple wrapper program which
> enables command line access for validations?
> Does such (short !) program (for WinXP) exist ?
>
> Thank you
> Ben
>
>
>
>
>
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp




-- 
www.savedbycuriosity.com

RE: Is there a command line validation with Xerces for XML doc against XSD schema ?

Posted by Pavel Ilyashenko <pa...@amdocs.com>.
How can I operate Xersec validation for XML doc against XSD schema from command line?
Thanks in advance.

Best Regards
Pavel Ilyshenko
 +297-8-62-40173

AMDOCS > INTEGRATED CUSTOMER MANAGEMENT



-----Original Message-----
From: Ben Stover [mailto:bxstover@yahoo.co.uk] 
Sent: December 27, 2007 19:23
To: c-users@xerces.apache.org
Subject: Is there a command line validation with Xerces for XML doc against XSD schema ?

I wonder wether there is a way to call Xerces directly from the command line in order to validate a  XML doc
against an (external) XSD schema file.

Can I do this (with either C++ or Java Xerces) ?

It seems to me that Xerces is created only for usage calls from Java/C++

If yes: where are the command line options listed?

If not: Maybe someone wrote a short and simple wrapper program which enables command line access for validations?
Does such (short !) program (for WinXP) exist ?

Thank you
Ben






This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Re: Is there a command line validation with Xerces for XML doc against XSD schema ?

Posted by David Bertoni <db...@apache.org>.
Ben Stover wrote:
> I wonder wether there is a way to call Xerces directly from the command line in order to validate a  XML doc
> against an (external) XSD schema file.
I don't think it's a very common use case, so there's no specific 
application to do that.

> 
> Can I do this (with either C++ or Java Xerces) ?
> 
> It seems to me that Xerces is created only for usage calls from Java/C++
> 
> If yes: where are the command line options listed?
> 
> If not: Maybe someone wrote a short and simple wrapper program which enables command line access for validations?
> Does such (short !) program (for WinXP) exist ?
Many of the sample applications have command line options to perform 
validation.  You could modify one of them to meet your needs.

Dave