Using P21-validator 2.1.0 on a define-xml v.2 file.
I have an
ItemDef with 2 def:Origin child elements. This violates the current
define-XML standard where "cardinality" for def:Origin is declared as
"Zero or One". So the presence of two def:Origin child elements is a
violation of the standard indeed (this will probably be relaxed in
v.2.1).
The message I get is however very strange. It says "Missing Origin" (DD0072) although there are 2 ones. It should be something like "Only 1 Origin child element is allowed".
Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.
Using P21-validator 2.1.0 on a define-xml v.2 file.
I have an ItemDef with 2 def:Origin child elements. This violates the current define-XML standard where "cardinality" for def:Origin is declared as "Zero or One". So the presence of two def:Origin child elements is a violation of the standard indeed (this will probably be relaxed in v.2.1).
The message I get is however very strange. It says "Missing Origin" (DD0072) although there are 2 ones.
It should be something like "Only 1 Origin child element is allowed".