[xsd-users] Compiling CSTA XSD files

Batya Hacohen Batya.Hacohen at tadirantele.com
Tue Jun 9 11:03:26 EDT 2009


I am trying to compile the ECMA CSTA XSD files. I get the following:

 

 

Performing xsd "d:\xmlCompiler\CstaXMLLib\xsdsrc\accept-call.xsd"

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:16:34: error: element name
'SecurityInfo/string' creates an unstable conflict when used as a type
name

d:\xmlCompiler\CstaXMLLib\xsdsrc\device-feature-types.xsd:43:25: info:
conflicting type is defined here

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:16:34: info: use
--anonymous-regex to resolve this conflict

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:16:34: info: and don't
forget to pass the same option when translating 'security.xsd' and all
the schemas that refer to it

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:21:35: error: element name
'SecurityInfo/private' creates an unstable conflict when used as a type
name

d:\xmlCompiler\CstaXMLLib\xsdsrc\device-feature-types.xsd:53:26: info:
conflicting type is defined here

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:21:35: info: use
--anonymous-regex to resolve this conflict

d:\xmlCompiler\CstaXMLLib\xsdsrc\security.xsd:21:35: info: and don't
forget to pass the same option when translating 'security.xsd' and all
the schemas that refer to it

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:15:34: error:
element name 'CSTAPrivateData/string' creates an unstable conflict when
used as a type name

d:\xmlCompiler\CstaXMLLib\xsdsrc\device-feature-types.xsd:43:25: info:
conflicting type is defined here

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:15:34: info: use
--anonymous-regex to resolve this conflict

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:15:34: info: and
don't forget to pass the same option when translating
'extension-types.xsd' and all the schemas that refer to it

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:20:35: error:
element name 'CSTAPrivateData/private' creates an unstable conflict when
used as a type name

d:\xmlCompiler\CstaXMLLib\xsdsrc\device-feature-types.xsd:53:26: info:
conflicting type is defined here

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:20:35: info: use
--anonymous-regex to resolve this conflict

d:\xmlCompiler\CstaXMLLib\xsdsrc\extension-types.xsd:20:35: info: and
don't forget to pass the same option when translating
'extension-types.xsd' and all the schemas that refer to it

Project : error PRJ0019: A tool returned an error code from "Performing
xsd "d:\xmlCompiler\CstaXMLLib\xsdsrc\accept-call.xsd""

 

Build log was saved at
"file://d:\xmlCompiler\CstaXMLLib\Debug\BuildLog.htm"

CstaXmlLib - 5 error(s), 0 warning(s)

 

My Command line is: xsd cxx-tree --extern-xml-schema ../src/csta.hxx
--generate-serialization  --generate-inline --generate-ostream
--output-dir ".\src"  "$(InputPath)"

 

I also was trying to add --anonymous-regex "#.*  (.+)/(.+)#$1_$2#" but
it did not work.

 

Attached are the files. (not all CSTA files)

 

 

Please advice

 

Regards Batya Hacohen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: device-feature-types.xsd
Type: application/octet-stream
Size: 21324 bytes
Desc: device-feature-types.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20090609/895baf34/device-feature-types.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: security.xsd
Type: application/octet-stream
Size: 1857 bytes
Desc: security.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20090609/895baf34/security.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extension-types.xsd
Type: application/octet-stream
Size: 1482 bytes
Desc: extension-types.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20090609/895baf34/extension-types.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accept-call.xsd
Type: application/octet-stream
Size: 1232 bytes
Desc: accept-call.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20090609/895baf34/accept-call.obj


More information about the xsd-users mailing list