OASIS otest ASM_5029_TestCase fails as Tuscany is not noticing that a composite
property with isMany=false has multiple <value> elements
-----------------------------------------------------------------------------------------------------------------------------------------
Key: TUSCANY-3231
URL: https://issues.apache.org/jira/browse/TUSCANY-3231
Project: Tuscany
Issue Type: Bug
Reporter: ant elder
Fix For: Java-SCA-2.0
OASIS otest ASM_5029_TestCase fails as Tuscany is not noticing that a composite
property with isMany=false has multiple <value> elements
The code goes wrong in CompositeProcessor.read line 372
Document value =
readPropertyValue(property.getXSDElement(), property.getXSDType(),
property.isMany(), reader);
and in readPropertyValue line 589 it does
loadElement(reader, root);
and nothing ends up checking that the the next start element is another <value>
element which should be an error when isMany is false.
The stax parser reading code around all this is quite convoluted so no fix for
this yet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.