Hi,

I am trying to validate an xml doc with a schema that defines a specific
attribute to be a list of strings such that <task parents="clean setup">.
Here clean and setup are two different tasks. Now I have defined a schema
where there is a key reference to name of the task. <task name="setup">. So
the values within parents attribute should exist only if a task name already
exist of the same name. When I parse it I get an error like this

XML Document has Error:truecvc-identity-constraint.4.3: Key 'referenceName'
with value 'cleanup setup' not found for identity constraint of element
'Workflow'.

but I want cleanup and setup to be considered as two seperate elements
rather than one. How do I make the parser do tht. I am surprised that I need
to do anything since the schema explains it to be a list of strings which
the parser needs to understand. Do help me with this.

Regards,

Ram

Reply via email to