Hi,
Just a (theorical) comment about:
<file filename="" mediatype="" size="" xsi:type="xs:anyURI"/>
According to the W3C XML Schema spec, this should mean that the "file"
element has a simple type "xs:anyURI" and thus that it has no attribute
which is clearly not what you want to express.
Incidentally, any WXS validator reading this element (for instance if
you wanted to validate the XForms model by itself) should traise an
error and I have noticed that you had to change the namespace in the
actual instance which is something such as:
<file filename="xpathpsvi.xhtml" mediatype="application/xhtml+xml"
size="81" xsi:type="xs:anyURI"
xsi_5:type="xs:anyURI">file:/var/cache/jetty/upload_00000025.tmp</file>
That would be cleaner and I'd much prefer that you use either
* an attribute from any other namespace than xsi to express the
fact that you want to receive a file element which is a complex
type simple content extension of xs:anyURI! That would give:
<file filename="" mediatype="" size=""
oxf:expectedContentType="xs:anyURI"/>
* a type that is the actual complex type simple content extension
of xs:anyURI (which is probably much more complex to process).
That would give: <file filename="" mediatype="" size=""
xsi:type="xs:myComplexTypeSimpleContentExtensionOfAnyURI"/>
My 0.02 �
Eric
--
Weblog:
http://eric.van-der-vlist.com/blog?t=category&a=English
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user