Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.5
-
Fix Version/s: 1.1 M2
-
Component/s: XML code generator
-
Labels:None
-
Number of attachments :
Description
Currently, the Castor XML code generator does not create any special validation logic for <xsd:IDREF> typed elements/attributes. As a result, it is currently impossible to assess that ...
a) a content element typed with <xsd:IDREF> is not empty.
b) a content element typed with <xsd:IDREF> does point to an existing <xsd:ID> instance.
The idea is to create a new IdRefValidator and modify the XML code generator to make sure that this new validator is called accordingly.
Issue Links
- depends upon
-
CASTOR-1720
Add support for validating <xsd:ID> types elements/attributes
-
Patch for review.
Observations: