[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: NDR rule ELD2:All element declarations MUST be global with the exception of ID and Code
Tim, 1. probably we are behind your understanding of the meaning of 'local': What does the term 'local' and 'global' mean in this context? I've been told that normal schema people would understand, that the following ID declaration from the 'despatch advice' as of Stephens latest run is a not a local one: <xsd:element name="DespatchAdvice" type="DespatchAdviceType" /> <xsd:complexType name="DespatchAdviceType"> : snip : <xsd:sequence> <xsd:element ref="cbc:ID" minOccurs="1" maxOccurs="1"> 2. In the schemas there are always elements called 'ID' but there is no element called 'Code'. In the latter case we have always any preceeding terms. Let me assume, that this is correct. Then the wording of the rule could/should(?) say "be global with the exception of Identifier elements and Code elements". This would avoid the impression that the words 'ID' and 'Code' both identify specific kind of elements AND give their (local) tag. thanks, Michael (Anyway, we have implemented to generate schemas exactly as above)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]