[xsd-users] Bug ?

tsroynciitraoln tsroynciitraoln at gmail.com
Mon Mar 16 05:08:51 EDT 2015


Hi,

I noticed a strange behavior using XSD. I will explain you how to reproduce
the issue.

    - Consider this projet:
http://sourceforge.net/projects/openadrvenclibrary/, go in "schema/2b"
    - Download CodeSynthesis XSD 4.0 for Mac, and execute the "build.sh"
script -> all is ok !
    - Do exactly the same on Windows 8.1 x64 (with CodeSynthesis XSD 4.0)
and you will got an issue (see cli dump in attachement)

Why the result is different ?

Best regards
-------------- next part --------------
Microsoft Windows [version 6.3.9600]
(c) 2013 Microsoft Corporation. Tous droits réservés.

oadr_xcal_20b.xsd:84:51: warning F001: element 'components' is implicitly of any
Type
oadr_xcal_20b.xsd:84:51: info: did you forget to specify 'type' attribute?
oadr_greenbutton.xsd:723:56: warning F001: element 'denominator' is implicitly o
f anyType
oadr_greenbutton.xsd:723:56: info: did you forget to specify 'type' attribute?
oadr_greenbutton.xsd:732:56: warning F001: element 'denominator' is implicitly o
f anyType
oadr_greenbutton.xsd:732:56: info: did you forget to specify 'type' attribute?
oadr_20b.xsd: warning T004: generating parsing and serialization functions for 6
2 global elements
oadr_20b.xsd: info: use --root-element-* options to specify document root(s)
oadr_atom.xsd: warning T004: generating parsing and serialization functions for
2 global elements
oadr_atom.xsd: info: use --root-element-* options to specify document root(s)
oadr_ei_20b.xsd:10:70: error: global element 'eventStatus' declared more than on
ce
oadr_ei_20b.xsd:12:50: error: global type 'simpleType:EventStatusEnumeratedType'
 declared more than once or also declared as complexType
oadr_ei_20b.xsd:47:50: error: global element 'resourceID' declared more than onc
e
oadr_ei_20b.xsd:49:47: error: global element 'groupID' declared more than once
oadr_ei_20b.xsd:51:47: error: global element 'partyID' declared more than once
oadr_ei_20b.xsd:53:49: error: global element 'groupName' declared more than once

oadr_ei_20b.xsd:54:45: error: global type 'simpleType:EiExtensionTokenType' decl
ared more than once or also declared as complexType
oadr_ei_20b.xsd:63:45: error: global element 'venID' declared more than once
oadr_ei_20b.xsd:65:45: error: global element 'vtnID' declared more than once
oadr_ei_20b.xsd:67:46: error: global element 'eventID' declared more than once
oadr_ei_20b.xsd:73:62: error: global element 'modificationNumber' declared more
than once
oadr_ei_20b.xsd:79:70: error: global element 'qualifiedEventID' declared more th
an once
oadr_ei_20b.xsd:81:46: error: global type 'complexType:QualifiedEventIDType' dec
lared more than once or also declared as simpleType
oadr_ei_20b.xsd:91:67: error: global element 'x-eiNotification' declared more th
an once
oadr_ei_20b.xsd:97:61: error: global element 'x-eiRampUp' declared more than onc
e
oadr_ei_20b.xsd:103:63: error: global element 'x-eiRecovery' declared more than
once
oadr_ei_20b.xsd:109:54: error: global element 'interval' declared more than once

oadr_ei_20b.xsd:110:38: error: global type 'complexType:IntervalType' declared m
ore than once or also declared as simpleType
oadr_ei_20b.xsd:119:61: error: global element 'currentValue' declared more than
once
oadr_ei_20b.xsd:124:42: error: global type 'complexType:currentValueType' declar
ed more than once or also declared as simpleType
oadr_ei_20b.xsd:130:76: error: global element 'payloadBase' declared more than o
nce
oadr_ei_20b.xsd:131:57: error: global type 'complexType:PayloadBaseType' declare
d more than once or also declared as simpleType
oadr_ei_20b.xsd:136:96: error: global element 'payloadFloat' declared more than
once
oadr_ei_20b.xsd:141:42: error: global type 'complexType:PayloadFloatType' declar
ed more than once or also declared as simpleType
oadr_ei_20b.xsd:155:61: error: global element 'responseCode' declared more than
once
oadr_ei_20b.xsd:161:41: error: global type 'simpleType:ResponseCodeType' declare
d more than once or also declared as complexType
oadr_ei_20b.xsd:177:58: error: global element 'responseDescription' declared mor
e than once
oadr_ei_20b.xsd:183:51: error: global element 'optType' declared more than once
oadr_ei_20b.xsd:188:36: error: global type 'simpleType:OptTypeType' declared mor
e than once or also declared as complexType
oadr_ei_20b.xsd:195:57: error: global element 'eiResponse' declared more than on
ce
oadr_ei_20b.xsd:200:40: error: global type 'complexType:EiResponseType' declared
 more than once or also declared as simpleType
oadr_ei_20b.xsd:208:36: error: global element 'eventResponses' declared more tha
n once
oadr_ei_20b.xsd:230:52: error: global element 'eiEvent' declared more than once
oadr_ei_20b.xsd:231:37: error: global type 'complexType:eiEventType' declared mo
re than once or also declared as simpleType
oadr_ei_20b.xsd:240:65: error: global element 'eiActivePeriod' declared more tha
n once
oadr_ei_20b.xsd:245:44: error: global type 'complexType:eiActivePeriodType' decl
ared more than once or also declared as simpleType
oadr_ei_20b.xsd:252:67: error: global element 'signalType' declared more than on
ce
oadr_ei_20b.xsd:258:49: error: global type 'simpleType:SignalTypeEnumeratedType'
 declared more than once or also declared as complexType
oadr_ei_20b.xsd:322:59: error: global element 'responses' declared more than onc
e
oadr_ei_20b.xsd:323:42: error: global type 'complexType:ArrayofResponses' declar
ed more than once or also declared as simpleType
oadr_ei_20b.xsd:332:67: error: global element 'eventDescriptor' declared more th
an once
oadr_ei_20b.xsd:337:45: error: global type 'complexType:eventDescriptorType' dec
lared more than once or also declared as simpleType
oadr_ei_20b.xsd:381:106: error: global element 'signalPayload' declared more tha
n once
oadr_ei_20b.xsd:386:43: error: global type 'complexType:signalPayloadType' decla
red more than once or also declared as simpleType
oadr_ei_20b.xsd:396:62: error: global element 'createdDateTime' declared more th
an once
oadr_ei_20b.xsd:402:53: error: global element 'eiTarget' declared more than once

oadr_ei_20b.xsd:407:38: error: global type 'complexType:EiTargetType' declared m
ore than once or also declared as simpleType
oadr_ei_20b.xsd:425:64: error: global element 'eiEventSignal' declared more than
 once
oadr_ei_20b.xsd:426:43: error: global type 'complexType:eiEventSignalType' decla
red more than once or also declared as simpleType
oadr_ei_20b.xsd:453:58: error: global element 'signalName' declared more than on
ce
oadr_ei_20b.xsd:454:39: error: global type 'simpleType:signalNameType' declared
more than once or also declared as complexType
oadr_ei_20b.xsd:460:78: error: global element 'SignalNameEnumerated' declared mo
re than once
oadr_ei_20b.xsd:461:49: error: global type 'simpleType:SignalNameEnumeratedType'
 declared more than once or also declared as complexType
oadr_ei_20b.xsd:521:65: error: global element 'eiEventSignals' declared more tha
n once
oadr_ei_20b.xsd:526:44: error: global type 'complexType:eiEventSignalsType' decl
ared more than once or also declared as simpleType
oadr_ei_20b.xsd:541:67: error: global element 'eiEventBaseline' declared more th
an once
oadr_ei_20b.xsd:546:45: error: global type 'complexType:eiEventBaselineType' dec
lared more than once or also declared as simpleType
oadr_ei_20b.xsd:571:35: error: global type 'complexType:EiOptType' declared more
 than once or also declared as simpleType
oadr_ei_20b.xsd:587:55: error: global element 'optReason' declared more than onc
e
oadr_ei_20b.xsd:592:38: error: global type 'simpleType:OptReasonType' declared m
ore than once or also declared as complexType
oadr_ei_20b.xsd:598:76: error: global element 'optReasonEnumerated' declared mor
e than once
oadr_ei_20b.xsd:599:48: error: global type 'simpleType:OptReasonEnumeratedType'
declared more than once or also declared as complexType
oadr_ei_20b.xsd:615:44: error: global element 'optID' declared more than once
oadr_ei_20b.xsd:621:49: error: global element 'eiReportID' declared more than on
ce
oadr_ei_20b.xsd:626:54: error: global element 'reportRequestID' declared more th
an once
oadr_ei_20b.xsd:631:56: error: global element 'reportSpecifierID' declared more
than once
oadr_ei_20b.xsd:636:57: error: global element 'reportName' declared more than on
ce
oadr_ei_20b.xsd:641:39: error: global type 'simpleType:reportNameType' declared
more than once or also declared as complexType
oadr_ei_20b.xsd:644:49: error: global type 'simpleType:reportNameEnumeratedType'
 declared more than once or also declared as complexType
oadr_ei_20b.xsd:656:42: error: global element 'rID' declared more than once
oadr_ei_20b.xsd:661:58: error: global element 'reportSubject' declared more than
 once
oadr_ei_20b.xsd:666:61: error: global element 'reportDataSource' declared more t
han once
oadr_ei_20b.xsd:671:61: error: global element 'statusDateTime' declared more tha
n once
oadr_ei_20b.xsd:676:58: error: global element 'reportType' declared more than on
ce
oadr_ei_20b.xsd:677:39: error: global type 'simpleType:ReportTypeType' declared
more than once or also declared as complexType
oadr_ei_20b.xsd:683:70: error: global element 'reportEnumerated' declared more t
han once
oadr_ei_20b.xsd:684:45: error: global type 'simpleType:ReportEnumeratedType' dec
lared more than once or also declared as complexType
oadr_ei_20b.xsd:811:59: error: global element 'readingType' declared more than o
nce
oadr_ei_20b.xsd:816:40: error: global type 'simpleType:ReadingTypeType' declared
 more than once or also declared as complexType
oadr_ei_20b.xsd:822:80: error: global element 'readingTypeEnumerated' declared m
ore than once
oadr_ei_20b.xsd:823:50: error: global type 'simpleType:ReadingTypeEnumeratedType
' declared more than once or also declared as complexType
oadr_ei_20b.xsd:892:58: error: global element 'confidence' declared more than on
ce
oadr_ei_20b.xsd:893:39: error: global type 'simpleType:ConfidenceType' declared
more than once or also declared as complexType
oadr_ei_20b.xsd:899:54: error: global element 'accuracy' declared more than once

oadr_ei_20b.xsd:900:37: error: global type 'simpleType:AccuracyType' declared mo
re than once or also declared as complexType
oadr_ei_20b.xsd:907:43: error: global type 'complexType:ReportPayloadType' decla
red more than once or also declared as simpleType
oadr_ei_20b.xsd:934:59: error: global element 'numDataSources' declared more tha
n once
oadr_ei_20b.xsd:936:67: error: global element 'reportSpecifier' declared more th
an once
oadr_ei_20b.xsd:941:45: error: global type 'complexType:ReportSpecifierType' dec
lared more than once or also declared as simpleType
oadr_ei_20b.xsd:966:70: error: global element 'specifierPayload' declared more t
han once
oadr_ei_20b.xsd:967:46: error: global type 'complexType:SpecifierPayloadType' de
clared more than once or also declared as simpleType
oadr_ei_20b.xsd:982:54: error: global element 'registrationID' declared more tha
n once
oadr_ei_20b.xsd:988:54: error: global element 'refID' declared more than once
oadr_ei_20b.xsd:994:60: error: global element 'uid' declared more than once
oadr_ei_20b.xsd:995:32: error: global type 'simpleType:UidType' declared more th
an once or also declared as complexType
oadr_ei_20b.xsd:1002:66: error: attribute 'schemaVersion' declared more than onc
e in the same scope
oadr_ei_20b.xsd:1003:42: error: global type 'simpleType:schemaVersionType' decla
red more than once or also declared as complexType
oadr_ei_20b.xsd:1006:52: error: global type 'simpleType:schemaVersionEnumeratedT
ype' declared more than once or also declared as complexType

C:\Users\Satin\Desktop\2b>


More information about the xsd-users mailing list