Hi All,
I'm running into another strange case with Orbeon, this time with schema validation.
In this case, when I enter valid data in the input fields and then press the 'Save' button, everything works fine. However, when I go to check the XML, it looks like this:
<metadata>
<idinfo>
<citation>
<citeinfo>
<origin>somewhere</origin>
<pubdate>2009</pubdate>
<pubtime>0930</pubtime>
</citeinfo>
</citation>
<crossref>
<citeinfo>
<origin/>
<pubdate>2009</pubdate>
<pubtime>0945</pubtime>
</citeinfo>
</crossref>
</idinfo>
</metadata>
where the second origin element is missing its data. I don't get this problem when pubdate and pubtime are of basic types such as xs:date and xs:time, but for more complicated simple types such as the ones in my schema, it does. I'm not sure if it's a problem with my schema logic, or something about my schema that Orbeon doesn't like.
Attached below are the XSD and XHTML files I was using to produce this error. Thanks in advance for any suggestions or ideas!
~Philip
test_validation.xhtmltest_validation.xsd