[xsd-users] 'conflicting type' problem while compiling msml schema

Seungmin We wesm at filewood.snu.ac.kr
Wed Nov 14 07:19:39 EST 2007


Dear XSD-Users and CodeSynthesis,
 
I¡¯m trying to use XSD with MSML schema.
But I¡¯ve got some warnings and errors as followings.
I think it suffers from naming conflict.
Actually the schemas has name conflicted elements but the namespaces are different.
Why cannot XSD distinguish them?
Is there any way to resolve this problem?
 
Best Regards,
Seungmin We.
 
ps. for your convinience, I'm attaching the schema I used
 
 
 
[wesm at wesm-fedora msml-schema]$ xsd cxx-tree --generate-serialization --generate-doxygen msml.xsd
msml-conf-core-datatypes.xsd:198:33: warning: element 'visual' is implicitly of anyType
msml-conf-core-datatypes.xsd:198:33: info: did you forget to specify 'type' attribute?
msml-dialog-core-datatypes.xsd:50:46: warning: element 'control' is implicitly of anyType
msml-dialog-core-datatypes.xsd:50:46: info: did you forget to specify 'type' attribute?
synthesis-core.xsd:160:41: warning: element 'aws' is implicitly of anyType
synthesis-core.xsd:160:41: info: did you forget to specify 'type' attribute?
synthesis-core.xsd:173:45: warning: element 'struct' is implicitly of anyType
synthesis-core.xsd:173:45: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:67:47: warning: element 'faxstart' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:67:47: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:68:51: warning: element 'faxnegotiate' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:68:51: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:69:50: warning: element 'faxpagedone' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:69:50: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:70:52: warning: element 'faxobjectdone' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:70:52: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:71:52: warning: element 'faxopcomplete' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:71:52: info: did you forget to specify 'type' attribute?
msml-dialog-fax-sendrecv-datatypes.xsd:72:51: warning: element 'faxpollstart' is implicitly of anyType
msml-dialog-fax-sendrecv-datatypes.xsd:72:51: info: did you forget to specify 'type' attribute?
msml-audit-stream-datatypes.xsd:46:48: warning: element 'visual' is implicitly of anyType
msml-audit-stream-datatypes.xsd:46:48: info: did you forget to specify 'type' attribute?
msml-dialog-base-datatypes.xsd:14:69: error: element name 'play/audio' creates an unstable conflict when used as a type name
synthesis-core.xsd:260:44: info: conflicting type is defined here
msml-dialog-base-datatypes.xsd:14:69: info: use --anonymous-regex to resolve this conflict
msml-dialog-base-datatypes.xsd:14:69: info: and don't forget to pass the same option when translating 'msml-dialog-base-datatypes.xsd' and all the schemas that refer to it
msml-dialog-base-datatypes.xsd:51:69: error: element name 'play/media' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:150:19: info: conflicting type is defined here
msml-dialog-base-datatypes.xsd:51:69: info: use --anonymous-regex to resolve this conflict
msml-dialog-base-datatypes.xsd:51:69: info: and don't forget to pass the same option when translating 'msml-dialog-base-datatypes.xsd' and all the schemas that refer to it
msml-dialog-base-datatypes.xsd:396:54: error: attribute name 'tone/duration' creates an unstable conflict when used as a type name
synthesis-core.xsd:27:33: info: conflicting type is defined here
msml-dialog-base-datatypes.xsd:396:54: info: use --anonymous-regex to resolve this conflict
msml-dialog-base-datatypes.xsd:396:54: info: and don't forget to pass the same option when translating 'msml-dialog-base-datatypes.xsd' and all the schemas that refer to it
msml-dialog-transform-datatypes.xsd:24:56: error: element name 'gain' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:164:23: info: conflicting type is defined here
msml-dialog-transform-datatypes.xsd:24:56: info: use --anonymous-regex to resolve this conflict
msml-dialog-transform-datatypes.xsd:24:56: info: and don't forget to pass the same option when translating 'msml-dialog-transform-datatypes.xsd' and all the schemas that refer to it
msml-dialog-transform-datatypes.xsd:87:57: error: element name 'clamp' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:193:23: info: conflicting type is defined here
msml-dialog-transform-datatypes.xsd:87:57: info: use --anonymous-regex to resolve this conflict
msml-dialog-transform-datatypes.xsd:87:57: info: and don't forget to pass the same option when translating 'msml-dialog-transform-datatypes.xsd' and all the schemas that refer to it
msml-dialog-transform-datatypes.xsd:51:49: error: attribute name 'agc/tgtlvl' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:175:24: info: conflicting type is defined here
msml-dialog-transform-datatypes.xsd:51:49: info: use --anonymous-regex to resolve this conflict
msml-dialog-transform-datatypes.xsd:51:49: info: and don't forget to pass the same option when translating 'msml-dialog-transform-datatypes.xsd' and all the schemas that refer to it
msml-dialog-transform-datatypes.xsd:59:48: error: attribute name 'agc/maxgain' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:183:24: info: conflicting type is defined here
msml-dialog-transform-datatypes.xsd:59:48: info: use --anonymous-regex to resolve this conflict
msml-dialog-transform-datatypes.xsd:59:48: info: and don't forget to pass the same option when translating 'msml-dialog-transform-datatypes.xsd' and all the schemas that refer to it
msml-dialog-transform-datatypes.xsd:75:50: error: attribute name 'gate/initial' creates an unstable conflict when used as a type name
msml-dialog-base-datatypes.xsd:114:22: info: conflicting type is defined here
msml-dialog-transform-datatypes.xsd:75:50: info: use --anonymous-regex to resolve this conflict
msml-dialog-transform-datatypes.xsd:75:50: info: and don't forget to pass the same option when translating 'msml-dialog-transform-datatypes.xsd' and all the schemas that refer to it
synthesis-core.xsd:272:48: error: attribute name 'emphasis/level' creates an unstable conflict when used as a type name
msml-dialog-base-datatypes.xsd:172:22: info: conflicting type is defined here
synthesis-core.xsd:272:48: info: use --anonymous-regex to resolve this conflict
synthesis-core.xsd:272:48: info: and don't forget to pass the same option when translating 'synthesis-core.xsd' and all the schemas that refer to it
synthesis-core.xsd:302:45: error: attribute name 'break/size' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:364:19: info: conflicting type is defined here
synthesis-core.xsd:302:45: info: use --anonymous-regex to resolve this conflict
synthesis-core.xsd:302:45: info: and don't forget to pass the same option when translating 'synthesis-core.xsd' and all the schemas that refer to it
msml-audit-stream-datatypes.xsd:11:46: error: element name 'stream/clamp' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:193:23: info: conflicting type is defined here
msml-audit-stream-datatypes.xsd:11:46: info: use --anonymous-regex to resolve this conflict
msml-audit-stream-datatypes.xsd:11:46: info: and don't forget to pass the same option when translating 'msml-audit-stream-datatypes.xsd' and all the schemas that refer to it
msml-audit-stream-datatypes.xsd:17:45: error: element name 'stream/gain' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:164:23: info: conflicting type is defined here
msml-audit-stream-datatypes.xsd:17:45: info: use --anonymous-regex to resolve this conflict
msml-audit-stream-datatypes.xsd:17:45: info: and don't forget to pass the same option when translating 'msml-audit-stream-datatypes.xsd' and all the schemas that refer to it
msml-audit-stream-datatypes.xsd:50:48: error: attribute name 'stream/media' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:150:19: info: conflicting type is defined here
msml-audit-stream-datatypes.xsd:50:48: info: use --anonymous-regex to resolve this conflict
msml-audit-stream-datatypes.xsd:50:48: info: and don't forget to pass the same option when translating 'msml-audit-stream-datatypes.xsd' and all the schemas that refer to it
msml-audit-stream-datatypes.xsd:58:46: error: attribute name 'stream/dir' creates an unstable conflict when used as a type name
msml-conf-core-datatypes.xsd:142:19: info: conflicting type is defined here
msml-audit-stream-datatypes.xsd:58:46: info: use --anonymous-regex to resolve this conflict
msml-audit-stream-datatypes.xsd:58:46: info: and don't forget to pass the same option when translating 'msml-audit-stream-datatypes.xsd' and all the schemas that refer to it
[wesm at wesm-fedora msml-schema]$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msml-schema.tar.gz
Type: application/x-gzip
Size: 14198 bytes
Desc: msml-schema.tar.gz
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20071114/4a6e3752/msml-schema.tar.bin


More information about the xsd-users mailing list