Re: [Xsltforms-support] Load from schema error
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-05-23 19:37:42
|
Ihe, Whether the schema is inline or external, it's the same for XSLTForms which currently will only look at simpleType declarations in it. These declarations can contain restrictions (pattern, enumeration (latest build required), length,...) such as in http://www.agencexml.com/xforms-tests/testsuite/XForms1.1/Edition1/Chapt02/2.3.a.xhtml Thank you for your feedbacks! -Alain Le 23/05/2012 17:48, Ihe Onwuka a écrit : > Alain, > > Could you please clarify. Do you mean I can attach a schema as long as > it only contains simpleType declarations which I can then reference > from the XForm. > > Or do you mean that I can define type declarations in a schema > fragment in the xForm. > > Also by simpleTypes does that include derivation by restriction eg > restricting a string to a few enumerated values or a pattern. > > Thanks > > ihe > > On Tue, May 22, 2012 at 9:40 PM, Alain Couthures > <ala...@ag...> wrote: >> Only simpleType declarations in schemas are currently supported by >> XSLTForms. >> >> -Alain >> >> Le 19/05/2012 17:52, ihe onwuka a écrit : >>> Also I get the attached error when I run the load from schema example >>> at http://en.wikibooks.org/wiki/XForms/Load_from_XML_Schema >>> >>> Do you support schema attachments? >>> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |