nick-knowles / NeTEx-XML

Netex XML Schema
Other
10 stars 6 forks source link

Direction not allowed as member of GeneralFrame #16

Closed metienne closed 3 years ago

metienne commented 7 years ago

Direction object is not allowed in a GeneralFrame tag; can refers it by element but adding a Direction in tag causes Xerces error :

cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.netex.org.uk/netex":Direction}'. One of '{"http://www.netex.org.uk/netex":GeneralFrameMember, "http://www.netex.org.uk/netex":DataManagedObject, "http://www.netex.org.uk/netex":Entity_Entity}' is expected.

nick-knowles commented 7 years ago

This is a bug because the substitutiongroup (TypeOfValue) was missing so it was nt picke dup.

nick-knowles commented 3 years ago

Fixed 2018