Hi All,
I am trying to validate the xml using key and keyref constraints
implementation on the xml schema side.
Please find the attached file contains the xmlpy error message
w.r.to
my problem. Please let me know if you require any more information to
understand the problem.
Error messae:
Field(anonymous) of identity constraint component evaluates to a node
with more than member.
Key Declaration:
<xs:key name="component">
<xs:selector xpath="./employee"/>
<xs:field xpath="employeeName"/>
<xs:field xpath= "items/ItemName"/>
</xs:key>
sample xml:
One employee record has many corresponding Items nodes.I am trying to
implement that the combination should be a key. The problem its
onsidering only the first combination.