xxforms:type="xs:anyURI"
I added an RFE on this:
http://sourceforge.net/tracker/index.php?func=detail&aid=1106157&group_id=116683&atid=675663
We also use xsi:type in a couple other cases, when the URL generator produces an encapsulation of text or binary documents, for example.
-Erik
Eric van der Vlist wrote:
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
------------------------------------------------------- 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
