I'm using Alfresco CMS which includes an older release of Chiba (v1.3.0), and running into a problem with a web form defined using an XML Schema. I realize this is an older release but I wanted to find out if this has come up before and whether there's a work around or if a newer release fixes this issue, or if I'm doing something wrong.
The schema in question is a slight modification of the "shiporder" sample from w3schools which has an xs:attribute on a xs:complexType, and when Alfresco attempts to make use of the form defined from this schema, it fails due to the following exception:
Caused by: org.chiba.xml.xforms.exception.XFormsException: model item for path '/so:shiporder/@orderid' does not exist
... 33 more
I've attached the very simple schema, with comments on the offending element. If I comment out the xsd:attribute and use the xsd:element a few lines above, it works fine. But changing the schema like that is, of course, the wrong solution.
Anyone have suggestions for how to work around this?