Re: [Xsltforms-support] xsd:list
Brought to you by:
alain-couthures
|
From: Alain C. <ala...@ag...> - 2015-06-18 19:45:37
|
Hello Michel, Obviously, the source code for xsd:list, inherited from AJAXForms, had never been tested before... I have fixed it now and, before committing a new build on repositories (Github and SF.net), I am wondering what you will need to manipulate lists: currently, XSLTForms is XForms 1.1 compliant which means that only XPath 1.0 is available (no sequence, no type,...). XSLTForms already includes some XForms 2.0 features and some XPath 2.0 functions. I am now working at full XPath 3.1 support for XSLTForms 2.0! In the meantime, to add support for fn:tokenize(), for example, in XSLTForms 1.0, I can use a trick which would return a nodeset instead of a sequence. So, could you please tell me which functions you would need to process lists? Thanks! --Alain Le 17/06/2015 23:49, Michel Kruglanski a écrit : > Dear Alain, > > Please find an illustration in attachment. > > Best regards > > Michel K. > > On 17/06/2015 21:37, COUTHURES Alain wrote: >> Hello again, >> >> This error sounds like an issue. Could you please send me a small >> testcase so I can quickly locate this issue? >> >> Thanks in advance! >> >> Alain Couthures >> >> Le 17/06/2015 12:49, Michel Kruglanski a écrit : >>> Hi, >>> >>> It seems that the handling of data types defined as list of values is >>> not working properly inside XSLTFORMS. >>> >>> Including data type such as >>> >>> <xsd:simpleType><xsd:list itemType="xsd:integer"/></xsd:simpleType> >>> >>> is generating an error in xsltforms/xsltforms.js on a missing property >>> "baseType" for the class XsltForms_listType. >>> >>> Could you confirm this shortcoming and suggest a workaround? >>> >>> Thank you in advance. >>> >>> Best regards >>> >>> Michel Kruglanski >>> -- >>> Belgian Institute for Space Aeronomy >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Xsltforms-support mailing list >>> Xsl...@li... >>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >>> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |