[xsd-users] problem in generating Parser template..

Suresh, M (IE10) Suresh.M at Honeywell.com
Mon Jul 31 02:47:33 EDT 2006


Hi,

Thankyou so much...

Regards
Suresh

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Friday, July 28, 2006 5:37 PM
To: Suresh, M (IE10)
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] problem in generating Parser template..

Hi,

Suresh, M (IE10) <Suresh.M at Honeywell.com> writes:

> I am not able to generate parser templates from Schema hello.xsd.
>
> When I run this command xsd cxx-parser hello.xsd under suse linux..it
> gives the following error..
>
>
>
> "Can only generate one of classes or datasets."

Our compiler never prints a message like this. I think you have some
other tool with the name 'xsd' in your path. To see which program
gets executed when you type xsd run 'which' in your shell:

$ which xsd

You can also run this command in the shell:

$ xsd --version

With CodeSynthesis XSD it should print something like this:

XML Schema Definition Compiler 2.2.0
Copyright (C) 2005-2006 Code Synthesis Tools CC
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


You may resolve your issue by specifying the full path to the
CodeSynthesis
XSD executable, e.g.,

$ ~/xsd-2.2.0-i686-linux-gnu/bin/xsd cxx-parser hello.xsd


hth,
-boris




More information about the xsd-users mailing list