Re: [Xsltforms-support] Date format within date picker

2025-02-01 Thread Alain Couthures
Hi Alex, XSLTForms v1.7 includes two mechanisms for internationalization: the legacy one based on config_XXX.xsl files and the new embedded one (Javascript config_data object) for a form to be a standalone HTML file. When no language is specified within the form, in legacy mode, XSLTForms gets

Re: [Xsltforms-support] Date format within date picker

2025-01-25 Thread Alain Couthures
Hi Alex, I cannot yet reproduce this issue with the date picker. It works as expected with my own test forms. Could you please post a minimal test form and corresponding screen captures? Thanks! --Alain > Le 21/01/2025 16:51 CET, Alessandro via Xsltforms-support > a écrit : > > > Hi all,

Re: [Xsltforms-support] Rich Text Editor

2024-01-21 Thread Alain Couthures
ot.  Thanks! -Winona   On Sun, Dec 31, 2023 at 8:00 AM Alain Couthures <alain.couthu...@agencexml.com&g

Re: [Xsltforms-support] Rich Text Editor

2024-01-03 Thread Alain Couthures
y textareas that I want editable will be in subforms. Not sure if that adds another layer of complication or not.  Thanks! -Winona   On Sun, Dec 31, 2023 at 8:00 AM Alain Couthures <alain.couthu...@agencexml.com> wr

Re: [Xsltforms-support] Rich Text Editor

2023-12-31 Thread Alain Couthures
Hi Winona,   Sorry for the delay.   Please have a look at the tinymce.xml sample (https://github.com/AlainCouthures/declarative4all/blob/master/public/samples/tinymce.xml).   Because of compatibility issues bet

Re: [Xsltforms-support] Support for rtl text input

2023-12-10 Thread Alain Couthures
Hi Winona,   XSLTForms now allows to add HTML attributes to input/textarea elements given they are in HTML namespace such as .   Whether dir="auto" should be systematically added by XSLTForms is a good question. For inputs, this should be added wi

Re: [Xsltforms-support] select1 behaviour on iPad

2023-11-27 Thread Alain Couthures
Hi Mark,   Thanks you for this hint: it appears that the drop-down list is only refreshed by an iPad with iPadOS 17.1.1 when the focus on it is lost by the select element.   As a workaround, a _javascript_ blur() call, followed by a delayed focus(

Re: [Xsltforms-support] Question Regarding Schematron and XSLTForms

2023-10-17 Thread Alain Couthures
Hello Tony,   It might be possible to add support of Schematron in XSLTForms, transposing rules into constraints with _javascript_ and DOM.   XPath 3.1 support in XSLTForms will not be available before 2.0. Is XPath 1.0 a problem?

Re: [Xsltforms-support] Question Re Implementing Custom Types

2023-10-05 Thread Alain Couthures
Hello Tony,   I would suspect a missing namespace declaration because there is no prefix for "DateTimeWithTimezoneDatatype". A minimal test form should be necessary to investigate.   There is currently not full support for XML Schema but

Re: [Xsltforms-support] Debugging version 1.7

2023-05-15 Thread Alain Couthures
Hi Winona,   Yes, a simple example would be much helpful (line #14678 of xsltforms.js for 1.7 does not contain a removeChild call).   Thanks!   --Alain   Le 10/05/2023 14:09 CEST, Winona Salesky a écr

Re: [Xsltforms-support] HTML preview option

2023-04-20 Thread Alain Couthures
Hi Winona,   Because the HTTP request is processed with XMLHttpRequest, the _javascript_ part of XSLTForms is looking at the response for a possible processing instruction and an XSLT stylesheet to be applied.   I always use the browser debugger t

Re: [Xsltforms-support] Parsing error in XSLTForms 1.7

2023-04-04 Thread Alain Couthures
Hi Winona,   Since version 1.5, there is a new XPath parser written in _javascript_.   There is a bug in it when there is a wildcard for prefix between an axis and a local name (in this error: "descendant::*:editionStmt").   As

Re: [Xsltforms-support] Undo element delete

2023-04-01 Thread Alain Couthures
CEST, Alain Couthures a écrit :     Hi Winona,   For an undo facility, you should store the corresponding instance, or a part of it, within another instance, possibly in successive states.   It should be done

Re: [Xsltforms-support] Undo element delete

2023-03-31 Thread Alain Couthures
Hi Winona,   For an undo facility, you should store the corresponding instance, or a part of it, within another instance, possibly in successive states.   It should be done with the insert action before deleting the element, as a "commit", and a r

Re: [Xsltforms-support] Open selection

2023-03-09 Thread Alain Couthures
wikipedia search example. Best Regards, Javier El 22/9/19 a las 19:49, Alain Couthures escribió: Hello Tim,   Yes, open selection is not yet supported and using HTML5 autocompletion has already been tested as a

Re: [Xsltforms-support] event ignored

2023-01-14 Thread Alain Couthures
Hello Robert,   The URI for the event namespace starts with "http://" not "https://".   Please find attached a working test case   --Alain  Le 28/11/2022 17:23 CET, Robert Kirkpatrick a écrit :

Re: [Xsltforms-support] xforms-ready event ignored

2023-01-14 Thread Alain Couthures
Mozilla Firefox does not handle namespaces correctly in its bugged XSLT processor.   Adding such dummy attributes allows XSLTForms to detect namespaces correctly anyway...   --Alain Le 13/01/2023 15:56 CET, Robert Kirkpatrick a éc

Re: [Xsltforms-support] Moving elements in a repeat

2023-01-14 Thread Alain Couthures
Hi Winona,   XPath axes usage is a possibility for such a complex test case.   First, the self:: axis can be used to reduce the size of XPath expressions testing lists of node names.   XForms, as XSLT, is always p

Re: [Xsltforms-support] Binding of saved login values

2022-12-08 Thread Alain Couthures
would like to have a look at your sign-in form to analyze when it should be called (according to @replace=all, I presume).   Thanks in advance,   --Alain Le 16/08/2022 19:57 CEST, Alain Couthures a écrit :    

Re: [Xsltforms-support] update: xsltforms 1.6 - F1 does not display the console (fwd)

2022-11-29 Thread Alain Couthures
e, this is the xml:   anon     Regards Habs     On Sun, 27 Nov 2022, Alain Couthures wrote:   Hello Habs,   The new debugger console allows y

Re: [Xsltforms-support] update: xsltforms 1.6 - F1 does not display the console (fwd)

2022-11-27 Thread Alain Couthures
Hello Habs,   The new debugger console allows you to dynamically evaluate any XPath expressions such as "instance()".   Extra XPath functions might help debugging (for example, the next XPath/XQuery engine will come with a "instance-ids()" functio

Re: [Xsltforms-support] xsltforms 1.6 - the standalone form example

2022-11-27 Thread Alain Couthures
Hello Habs,   First, please let me explain what made a standalone form possible:   Because XForms Specifications define their own elements to be mixed within some host language such as HTML, any XForms implementation to be used within a web browse

Re: [Xsltforms-support] Support request

2022-11-13 Thread Alain Couthures
Hello Robert,   This mailing list has not been replaced. It is effectively not very active currently...   --Alain Le 10/11/2022 11:41 CET, Robert Kirkpatrick a écrit :     This mailing list l

Re: [Xsltforms-support] XF not rendering (v1.6)

2022-10-07 Thread Alain Couthures
Robert,   The attributes @repeat-* are not yet supported in XSLTForms 1.6.   As a workaround, it is possible to use xforms:repeat controls and DIV elements instead, with display set to table, table-row or table-cell.   Concerni

Re: [Xsltforms-support] Binding of saved login values

2022-08-16 Thread Alain Couthures
Hello Tim,   As usual, events are not fired similarly in these browsers.   I already have a possible fix but for Firefox only.   I will investigate some CSS trick to detect autofill for Chromium browsers.  

[Xsltforms-support] V1.6: file: scheme and standalone forms

2022-02-08 Thread Alain Couthures
Hello, XSLTForms 1.6 can now be downloaded at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip. The "file:" scheme is supported in submissions to read and write files locally, thanks to _javascript_ File Syste

Re: [Xsltforms-support] Event update error with last xsltforms version

2021-06-29 Thread Alain Couthures
Hi Javier, It appears to be a dependency issue. As a workaround, adding xforms-build action for the select1 control is enough to get expected behavior. I would like to check with previous XSLTForms releases. Can you please post the XForms source for

Re: [Xsltforms-support] Errors in last version of xsltforms

2021-06-25 Thread Alain Couthures
20:53, Alain Couthures a écrit : Hi Javier, Before committing a new build, I will first try to write a fix based on @disable-output-escaping specifically for xalan-j to preserve the current transformation which has been successfully

Re: [Xsltforms-support] XSLTForms Profiler & XSLTForms Trace Log

2021-06-23 Thread Alain Couthures
Hi Javier, The new XForms Debugger will be extended to integrate profiling data and trace log. It will probably be based on extra XPath functions. What are you precisely looking for? Thank you for your answer!

Re: [Xsltforms-support] Errors in last version of xsltforms

2021-06-23 Thread Alain Couthures
ava project. If I have spare time, I will try to check it with saxon. Best regards, Javier El 13/6/21 a las 17:55, Alain Couthures escribió: EXTERNAL EMAIL - Do not click any links or open any attachments unless you trust the sender and know the

Re: [Xsltforms-support] Errors in last version of xsltforms

2021-06-13 Thread Alain Couthures
Hi Javier, Thank you for fixing this issue with the XSLT transformation when performed at server side. I would like to know which XSLT engine you are using because browsers are not impacted (valid HTML serialization). Extra non-br

Re: [Xsltforms-support] How to highlight selected row within a repeat?

2021-05-24 Thread Alain Couthures
Hi Alessandro, Since XSLTForms 1.5, CSS styling is to be based on custom elements. The easiest way to determine what is possible, is to look at the elements with the browser debugger. In this case, the selected repeat item has an

Re: [Xsltforms-support] XForms repeat and tables?

2021-03-30 Thread Alain Couthures
On Mon, Mar 29, 2021 at 1:25 PM Alain Couthures <alain.couthu...@agencexml.com> wrote: Hello Tim, There was a missing i

Re: [Xsltforms-support] Declarative4all Overview?

2021-03-30 Thread Alain Couthures
When developing web applications, XForms, because it has been specified to be implemented in browsers, is not enough. XSLTForms is a client-side XForms implementation using XSLT 1.0 as a trick to transform XForms pages into HTML pages with CSS and _javascript_. It wo

Re: [Xsltforms-support] XForms repeat and tables?

2021-03-29 Thread Alain Couthures
Hello Tim, There was a missing initialization in XSLTForms 1.5.2 for table repeats within a repeat. This has been added as XSLTForms 1.5.3 at  https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip

Re: [Xsltforms-support] Cancelling loop/action

2021-02-13 Thread Alain Couthures
Hi Josselin, In this test case, an event is defined so two submissions are to be sent synchronously, one after one, according to a condition which should be true for one only. The first one will send again the same event producing a submission loop effect. But the fir

Re: [Xsltforms-support] XSLTForms 1.5

2021-01-30 Thread Alain Couthures
Thank you for your help, best,  Josselin Le 9 janv. 2021 à 20:01, Alain Couthures <alain.couthu...@agencexml.com> a écrit :

Re: [Xsltforms-support] XSLTForms 1.5

2021-01-30 Thread Alain Couthures
Thank you for your help, best,  Josselin Le 9 janv. 2021 à 20:01, Alain Couthures

Re: [Xsltforms-support] Saving multiple instances to the same xml file from within the same form

2021-01-30 Thread Alain Couthures
Hi Alex, To select which instance you want to submit, you have to use submission/@ref. Both submission/@replace and submission/@instance are only used for the response of the submission. By default, the first instance is the one to be serialized and

Re: [Xsltforms-support] xsltforms 1.5 xforms-repeat xforms-repeat-item (fwd)

2020-12-06 Thread Alain Couthures
27;block' as a default in xsltforms ? Regards Habs -- Forwarded message -- Date: Sat, 5 Dec 2020 11:30:25 + (GMT) From: Habs <gen-...@useyouresp.org.uk> To: Alain Couthures <ala

[Xsltforms-support] IE support in next releases

2020-12-04 Thread Alain Couthures
Hello, Please contact me if Internet Explorer support in XSLTForms is still important for you. Next releases should benefit from recent HTML5 and _javascript_ features, don't you think? Thank you for your feedback!

[Xsltforms-support] XSLTForms 1.5

2020-12-04 Thread Alain Couthures
Hello, XSLTForms 1.5 can now be downloaded at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip The corresponding CSS stylesheet has been aligned to the one in the XForms Tutorial written by Steven Pemberton fo

Re: [Xsltforms-support] Problems with XForms as default namespace

2020-06-16 Thread Alain Couthures
No problem. Did you see my answer about not being correct because instance element has to be in XForms namespace? Le 16 juin 2020 à 18:57, Jay Straw a écrit : BTW, this was XSLTForms 1.3, sorry I didn't mention that before. On Sun, Jun 7

Re: [Xsltforms-support] External sources in 1.5beta

2020-06-16 Thread Alain Couthures
available-files.xml xml  version = " 1.0 "  encoding = " UTF-8 " ?> < files   xmlns = "" >   

Re: [Xsltforms-support] External sources in 1.5beta

2020-06-16 Thread Alain Couthures
Because HTML5 attributes such as @selected are typed, XSLTForms 1.5beta has to avoid potential conflicts: except @id, @style and @class, every attribute for an XForms element is renamed with the "xf-" prefix for HTML5. HTML5 also considers that custom elements cannot

Re: [Xsltforms-support] Problems with XForms as default namespace

2020-06-07 Thread Alain Couthures
Hi Jay, Attempts with cannot work because this element has no namespace instead of XForms namespace. It is a better practice to explicitly add xmlns="" at the document element of the instance instead. --Alain Le 8 juin 2020 à 07:52, Jay St

Re: [Xsltforms-support] XsltForms 15 beta does not work for me

2020-05-26 Thread Alain Couthures
Hello Alex, Thank you for reporting this issue which is now fixed in 1.5beta. XSLTForms releases come with multiple config files and asking for a missing one was causing the form to abort. There has been an Italian translation for

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Alain Couthures
only interested in when the elements are visible) can override the default case. The long, specific selectors for display: none will never need to be overridden. Steven On Sun, 10 May 2020 16:06:25 +0200, Alain Couthures

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Alain Couthures
ced by the specificity of the most specific complex selector in its selector list argument. On Sun, 10 May 2020 09:57:26 +0200, Alain Couthures wrote: Hello Habs, Sorry, I am not a CS

Re: [Xsltforms-support] New release: Please give it a try!

2020-05-10 Thread Alain Couthures
I can now run your webserver (using Windows Subsystem for Linux) and I can see that, apparently, only Chromium-based browsers do send 2 requests for xsltforms.xsl. It appears that the first one could be just for accepting text/css and the network debugger does not ren

Re: [Xsltforms-support] new beta release testing - possible styling bug - display:block

2020-05-10 Thread Alain Couthures
Hello Habs, Sorry, I am not a CSS expert but I think that, in such as situation, you have to add !important in your own CSS rule to override the default behaviour. Thank you for your feedback! --Alain Le 22 avril 202

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Alain Couthures
    doesn't work yet? (Working to get the testsuite running under the new release). Best wishes, Steven  On Wed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote:

Re: [Xsltforms-support] New release: Please give it a try!

2020-04-05 Thread Alain Couthures
ms-valid on 0 -> Dispatching event xforms-value-changed on 1 -> Dispatching event xforms-disabled on 0 -> Dispatching event xforms-enabled on 1 -> Dispatching event xforms-enabled on 0 -> Dispatching event xforms-enabled on 0 ->

Re: [Xsltforms-support] 1.5beta testing

2020-03-02 Thread Alain Couthures
:54 AM Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hello Tim, It appears that there is actually no event attached to this refresh action. The latest 1.5beta build does not support this situation so a Javascript error occurs (I don't know whether a

Re: [Xsltforms-support] 1.5beta testing

2020-02-28 Thread Alain Couthures
works as expected: https://www.tat2.io/basex2/static/xsltforms_var_test_2020-02-17_with_var_1.4.xml Best regards, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Mon, Feb 17, 2020 at 3:54 PM Alain Couthures mailto:alain.couthu...@agenc

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-25 Thread Alain Couthures
.nl>> wrote: Exciting to be testing the new implementation. I'll start simple. [Enter] in an doesn't seem to dispatch a DOMActivate. For instance, https://homepages.cwi.nl/~steven/forms/examples/lists/list3.xhtml Steven On Wed, 05 Feb 2020 21:1

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-24 Thread Alain Couthures
ed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote: Hello, Please find a new release for XSLTForms at www.agencexml.com/1.5beta/xsltforms.zip It has not yet been fully tested because a lot of changes

Re: [Xsltforms-support] 1.5beta testing

2020-02-17 Thread Alain Couthures
Steven Pemberton. Thanks again, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Wed, Feb 12, 2020 at 4:00 PM Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hello Tim, (1) The xf:gro

Re: [Xsltforms-support] New release: Please give it a try!

2020-02-12 Thread Alain Couthures
f :) It's quite amazing to see the xsltforms.xsl file down to just over 500 lines. Thanks again for all your work. Best regards, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Wed, Feb 5, 2020 at 3:16 PM Alain Couthu

[Xsltforms-support] New release: Please give it a try!

2020-02-05 Thread Alain Couthures
Hello, Please find a new release for XSLTForms at www.agencexml.com/1.5beta/xsltforms.zip It has not yet been fully tested because a lot of changes have been made and you are welcome to locate remaining issues with your own forms. The XSLT part has been reduced to minimal for better perform

Re: [Xsltforms-support] question about conversion from ubiquity

2020-01-22 Thread Alain Couthures
quot;post" id="sendStuff">             Original Message Subject: Re: [Xsltforms-support] question about conversion from ubiquity From: Alain Couthures mailto:alain.couthu...@agencexml.com>> Date: Thu, January 16, 2020 10:5

Re: [Xsltforms-support] question about conversion from ubiquity

2020-01-16 Thread Alain Couthures
Chris On 1/11/20 8:41 AM, Alain Couthures wrote: Hello Chris, As far as I remember, Ubiquity had a limitation about models not to be declared in head section but in body section.

Re: [Xsltforms-support] question about conversion from ubiquity

2020-01-11 Thread Alain Couthures
Hello Chris, As far as I remember, Ubiquity had a limitation about models not to be declared in head section but in body section. I suggest you to first check that XSLTForms samples are OK for you. Then, to compare with Ubiquity. If possible, please don't hesitate to send a full form source

Re: [Xsltforms-support] Open selection

2019-09-22 Thread Alain Couthures
ture, or is it still being tested? Based on my initial tests, I assume it hasn't been fully implemented yet, but I thought I would ask :) Best regards, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Sat, Mar 30, 2019 at 6:41 AM Alain Couthures mailto:alai

[Xsltforms-support] Fwd: XForms and Web sockets

2019-08-01 Thread Alain Couthures
Hello, Web sockets support in XSLTForms could be interesting, don't you think? It could probably be implemented at instance level, maybe with a specific scheme, such as "ws://". Thank you for sharing links and ideas! --Alain Message transféré Sujet : XForms and W

Re: [Xsltforms-support] Open selection

2019-03-30 Thread Alain Couthures
 Centre-ville, Montréal QC H3C 3J7 Tél.  +1 514 343-6026 emmanuel.chateau.dut...@umontreal.ca <mailto:emmanuel.chateau.dut...@umontreal.ca> | @emchateau Le 18 mars 2019 à 04:29, Alain Couthures <mailto:alain.couthu...@agencexml.com>> a écrit : Hello Emmanuel, Unfortunately, HTML5 i

Re: [Xsltforms-support] Open selection

2019-03-18 Thread Alain Couthures
Hello Emmanuel, Unfortunately, HTML5 is not providing a native solution for some open selection ready to be used by XSLTForms. It is still possible to add this to XSLTForms with multiple HTML elements and CSS classes. Did you already have a look at this example: http://www.agencexml.com/xslt

Re: [Xsltforms-support] Label element in XForms itemset

2018-10-05 Thread Alain Couthures
Tim, In XForms 1.1, at https://www.w3.org/TR/xforms11/#ui-selection-commonelems-itemset, "The node-set that holds the available choices is specified via the Node Set Binding.". In XForms 2.0, at https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_item_Element, "The sequence that h

Re: [Xsltforms-support] XLSForms and XSLTForms: the default uuid() and how best to handle it

2017-12-18 Thread Alain Couthures
Hi Peter, Adding support for uuid() in XSLTForms was not difficult, it will be committed as soon as possible. Yet, "select1" is not a valid type: as a workaround, it can be defined as a synonym for "string"... Then, there is still a namespace issue in the generated form: xmlns="" has to be

Re: [Xsltforms-support] control of namespaces in submissions

2017-11-24 Thread Alain Couthures
Hello Habs, Inline instances are first serialized by the XSLT engine then parsed in the browser then, finally, serialized by the browser. There is a known issue in Firefox: namespace axis has never been implemented in its XSLT engine (Transformiix). By default, XSLTForms 1.0 uses the native

Re: [Xsltforms-support] CSS in XSLTForms

2017-11-01 Thread Alain Couthures
Hello Habs, No voluntary change in CSS support have been made for quiet a long time... The XSL transformation should still be trying to parse STYLE and LINK elements. It implies that external files have to be in well-formed XML format as explained at https://en.wikibooks.org/wiki/XRX/XSLTForm

Re: [Xsltforms-support] Issue with deleting items from repeat list

2017-10-27 Thread Alain Couthures
10:32 AM, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hi Mats, I have not been able to reproduce this issue: I have tested with Chrome 61, Chrome 62, Chrome Beta 62 and Chrome Canary 64 but no exception appeared... Could you

Re: [Xsltforms-support] Issue with deleting items from repeat list

2017-10-27 Thread Alain Couthures
Hi Mats, I have not been able to reproduce this issue: I have tested with Chrome 61, Chrome 62, Chrome Beta 62 and Chrome Canary 64 but no exception appeared... Could you please send me the line number you saw so I could check its validity? Thanks! --Alain Le 23/10/2017 à 14:36, Mats Ekl

Re: [Xsltforms-support] XForms unit testing

2017-07-21 Thread Alain Couthures
Forms. Perhaps some custom actions could be defined to implement standard testing functions such as assert, assert-equals, etc.? Best regards, Tim -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Wed, Jul 19, 2017 at 9:21 AM, Alain Couthures wrote: The path for items

Re: [Xsltforms-support] select1, itemset, value (what is this form doing wrong?)

2017-07-19 Thread Alain Couthures
The path for itemset has to be written relative to the one of the select: in your test case, just add "../../" at the beginning if you want to keep it relative. --Alain -Message d'origine- De : "C. M. Sperberg-McQueen" Envoyé : ‎18/‎07/‎2017 20:51 À : "xsltforms-support@lists.sourceforg

Re: [Xsltforms-support] Question about show='new' in submission

2017-04-26 Thread Alain Couthures
s, -Winona On Tue, Apr 25, 2017 at 3:40 PM, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hi Winona, The Profiler is, itself, an XForms page. It uses an XPath expression such as "serialize(instance('view'),'application/xml',

Re: [Xsltforms-support] Question about show='new' in submission

2017-04-25 Thread Alain Couthures
help! -Winona On Sat, Apr 22, 2017 at 3:51 AM, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hi Winona, I suspect that this issue is just due to pop-ups not being allowed. The error about w.document is just after this instruction: var w = window.open(&

Re: [Xsltforms-support] Question about show='new' in submission

2017-04-22 Thread Alain Couthures
Hi Winona, I suspect that this issue is just due to pop-ups not being allowed. The error about w.document is just after this instruction: var w = window.open("about:blank","_blank"); I should probably wrap this with a try-catch statement just to alert users about allowing popup. What do you

Re: [Xsltforms-support] Trouble with setvalue in Firefox

2017-03-17 Thread Alain Couthures
Hello Tim, I have tested with both Firefox 52.0 and Firefox 54.0a and I can easily reproduce this crash creating just 5 or 6 items. It might be due to memory management but, unfortunately, using the browser debugger does not help at all to locate this issue. I have discovered that it is pos

Re: [Xsltforms-support] custom buttons in TinyMCE 4.3.12 and XSLTForms 638

2017-02-12 Thread Alain Couthures
Thank you very much for all these explanations! The proposed patch will be integrated in rev. 640. I have been able to build my own test form (I first forgot to add the custom button names in "toolbar" and I had to replace the 2 "<" with "<" in the "insertElem" function). --Alain Le 2/7/20

Re: [Xsltforms-support] XSLTForms and TinyMCE (v 4.5.2 doesn't work; 4.3.12 does; ...)

2017-02-12 Thread Alain Couthures
The current version of TinyMCE is now 4.5.3 and I have succeeded in integrating it in XSLTForms. It appears that, with this version, the editor is not initialized enough when XSLTForms first tries to set its content. I had to add a try/catch statement to support this new behavior. This will be

Re: [Xsltforms-support] custom buttons in TinyMCE (4.3.12) with XSLTForms (638)

2017-02-06 Thread Alain Couthures
Customizing TinyMCE with XSLTForms is based on the definition of a data type with corresponding parameters. Please have a look at http://www.agencexml.com/xsltforms/tinymce.xml http://www.w3.org/2001/XMLSchema"; targetNamespace="http://www.agencexml.com/xsltforms/rte";>

Re: [Xsltforms-support] xsi:type validation in instance document error

2016-11-19 Thread Alain Couthures
erway ? Regards Habs On 31 October 2016 at 21:17, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hello Habs, Because "xsd:string" is the default type, did you try to define a dummy schema with every complex type considered as atomic string

Re: [Xsltforms-support] Grouping in XSLTForms

2016-11-19 Thread Alain Couthures
Tim, Unfortunately, this SO example is using XPath 2.0 and it also appears that XSLTForms currently does not support predicates after a var ref... Could you please post a small test case so I could get this "too much recursion" error? Thanks! --Alain Le 10/11/2016 à 19:30, Tim Thompson a

Re: [Xsltforms-support] xsi:type validation in instance document error

2016-10-31 Thread Alain Couthures
Hello Habs, Because "xsd:string" is the default type, did you try to define a dummy schema with every complex type considered as atomic string so XSLTForms cannot complain about missing type declarations? Thank you for your feedback! --Alain Le 31/10/2016 à 10:01, b...@shroggslodge.freeserv

Re: [Xsltforms-support] injecting XML element(s) at cursor position in text area?

2016-09-04 Thread Alain Couthures
Please have a look at https://stackoverflow.com/questions/36005795/wrap-text-in-element-using-xforms Mixing such XSLTForms extensions for getting and setting the cursor position and the possibly selection content should help you. You should keep in mind that XForms engines can just edit leaves

Re: [Xsltforms-support] can one automatically load a sub-form?

2016-07-03 Thread Alain Couthures
support are the main reasons for me to write XSLTForms 2 without the necessity for XSLT! --Alain Le 02/07/2016 à 18:42, C. M. Sperberg-McQueen a écrit : > On Jun 18, 2016, at 1:44 PM, Alain Couthures wrote: > >> Michael, >> >> Subforms are loaded with the load action so any

Re: [Xsltforms-support] xsd:duration types

2016-06-29 Thread Alain Couthures
as a matter of interest, is that a standard in the xforms spec. or is it an XSLTForms particular extension ? Thank you for all your continuing hard work on XSLTForms. Long may it (and you) continue :-) Regards Habs On 29 June 2016 at 17:59, Alain Couthures mailto:alain.couthu

Re: [Xsltforms-support] xsd:duration types

2016-06-29 Thread Alain Couthures
let me know. Regards Habs On 18 June 2016 at 21:06, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hello Habs, I am currently extending my new XPath engine (Fleur) into an XQuery engine as well. Progressively, it will support XPath/XQuery 3.

Re: [Xsltforms-support] refreshing the screen while performing a submission - why does this not work?

2016-06-28 Thread Alain Couthures
As a possible workaround, you might try to insert the text, before the submission being effectively sent, at the event "xforms-submit-serialize". Thank you for your feedback! --Alain Le 20/06/2016 à 20:32, C. M. Sperberg-McQueen a écrit : > I have a form that performs a query against a database

Re: [Xsltforms-support] binding to text nodes - what am I doing wrong?

2016-06-28 Thread Alain Couthures
There is no such form in the W3C Test Suite binding a text node to a control and I had to fix and build a new version of XSLTForms. Please give a try at http://www.agencexml.com/direct/demos/textnodetest.xml Thank you for your feedback! --Alain Le 28/06/2016 à 06:47, C. M. Sperberg-McQueen a é

Re: [Xsltforms-support] xsd:duration types

2016-06-18 Thread Alain Couthures
Hello Habs, I am currently extending my new XPath engine (Fleur) into an XQuery engine as well. Progressively, it will support XPath/XQuery 3.1 but there are still missing functionalities such as durations. Because of functions such as doc(), this engine is written in asynchronous Javascript

Re: [Xsltforms-support] can one automatically load a sub-form?

2016-06-18 Thread Alain Couthures
Michael, Subforms are loaded with the load action so any event can trigger it. If not, this would be an issue and I would be happy to have a test case if this happens. Ids are to be considered with subforms: if no static id is used in the subform, generated ids include the generated subform id

Re: [Xsltforms-support] Duplicate Id using multiple text area's with

2016-04-26 Thread Alain Couthures
Yes, a minimal test case is required. Ids are automatically generated by XSLTForms when missing. Are you generating your forms at server side ? --Alain Le 26/04/2016 à 19:49, Winona Salesky a écrit : > I am using the new wrap function (a great addition!) and am trying to > simplify my forms a

Re: [Xsltforms-support] XPath and whitespace

2016-04-14 Thread Alain Couthures
Michael, I have improved the XPath parser accordingly and I suggest you to patch 1.0RC2 for an XSLT template named "getLocationPath", at its end: Please replace:

Re: [Xsltforms-support] XSLTForms wrap and setselection

2016-04-13 Thread Alain Couthures
Winona, I think that the "xforms-submit-done" event is what you are looking for. Please have a look at this example: https://en.wikibooks.org/wiki/XForms/Web_Service_Tester So, with one button, the submission is sent then, when it's done, the selected text is set to the new value. Thank yo

Re: [Xsltforms-support] XSLTForms enhancements?

2016-04-10 Thread Alain Couthures
eet a perceived shortcoming. What are your views ? Regards Habs On 10 April 2016 at 20:45, Alain Couthures mailto:alain.couthu...@agencexml.com>> wrote: Hi Mats, - Allowing XSLTForms to be run as Chrome Apps, with file save/open functionality etc. Could you please

Re: [Xsltforms-support] XSLTForms enhancements?

2016-04-10 Thread Alain Couthures
Hi Mats, - Allowing XSLTForms to be run as Chrome Apps, with file save/open functionality etc. Could you please write some documentation about how you succeeded? It might be added in XSLTForms Wikibook, for example. - Embedding SaxonCE library so that transform() function can run XSLT2 transfo

Re: [Xsltforms-support] Download action/control

2016-04-10 Thread Alain Couthures
Hi Mats, From the XForms Recommendation point of view, it is already possible to write an instance to disk using the "file:" protocol. As you know, for security reasons, browser vendors have decided not to allow file writing. XSLTForms includes a small Java applet which can write a file but,

Re: [Xsltforms-support] A question relating to submissions: omit-xml-declaration

2016-03-29 Thread Alain Couthures
Hello Habs, The omit-xml-declaration is supported in the XSLT stylesheet of XSLTForms, effectively memorized in the corresponding Javascript object... but ignored when performing the serialization... It should not be difficult to improve this situation. Are you in a hurry about that?? Thank

  1   2   3   4   >