Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.5
-
Fix Version/s: 1.1 M1
-
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:ID> typed elements/attributes. As a result, it is currently impossible to assess that ...
a) a content element typed with <xsd:ID> is not empty.
b) there's more than one such content element with an identical value.
The idea is to create a new IdValidator and modify the XML code generator to make sure that this new validator is called accordingly.
Issue Links
- is depended upon by
-
CASTOR-1722
Add support for validating <xsd:IDREF> types elements/attributes
-
Initial patch for review.