xsltforms-support Mailing List for XSLTForms (Page 102)
Brought to you by:
alain-couthures
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(9) |
Jul
(16) |
Aug
(5) |
Sep
(43) |
Oct
(36) |
Nov
(58) |
Dec
(43) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(79) |
Feb
(81) |
Mar
(107) |
Apr
(93) |
May
(85) |
Jun
(54) |
Jul
(64) |
Aug
(54) |
Sep
(45) |
Oct
(53) |
Nov
(34) |
Dec
(77) |
2011 |
Jan
(56) |
Feb
(53) |
Mar
(52) |
Apr
(66) |
May
(44) |
Jun
(16) |
Jul
(28) |
Aug
(5) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(46) |
2012 |
Jan
(16) |
Feb
(38) |
Mar
(47) |
Apr
(45) |
May
(41) |
Jun
(41) |
Jul
(72) |
Aug
(17) |
Sep
(10) |
Oct
(16) |
Nov
(29) |
Dec
(30) |
2013 |
Jan
(25) |
Feb
(13) |
Mar
(20) |
Apr
(25) |
May
(34) |
Jun
(8) |
Jul
(12) |
Aug
(9) |
Sep
(21) |
Oct
(19) |
Nov
(6) |
Dec
(2) |
2014 |
Jan
(14) |
Feb
(8) |
Mar
(7) |
Apr
(13) |
May
(33) |
Jun
(13) |
Jul
(6) |
Aug
(5) |
Sep
(5) |
Oct
(34) |
Nov
(7) |
Dec
|
2015 |
Jan
(1) |
Feb
(6) |
Mar
(17) |
Apr
(12) |
May
(10) |
Jun
(18) |
Jul
(31) |
Aug
(9) |
Sep
(3) |
Oct
(6) |
Nov
(19) |
Dec
(1) |
2016 |
Jan
(18) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
|
Jun
(17) |
Jul
(7) |
Aug
|
Sep
(3) |
Oct
(6) |
Nov
(3) |
Dec
|
2017 |
Jan
(5) |
Feb
(17) |
Mar
(4) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(5) |
Nov
(6) |
Dec
(4) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
(13) |
Feb
(17) |
Mar
(8) |
Apr
(11) |
May
(15) |
Jun
(11) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2021 |
Jan
(9) |
Feb
(26) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(18) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(10) |
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
(10) |
Dec
(1) |
2023 |
Jan
(10) |
Feb
|
Mar
(7) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(11) |
Nov
(8) |
Dec
(5) |
2024 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: COUTHURES A. <ala...@ag...> - 2009-12-05 13:50:39
|
Jason, Thank you for this tip about IIS and XSLTForms. I'm thinking about having an XML notation for messages and other options so I hope this will not be anymore a problem in the next release. -Alain > > Hi, > > Some information about compatibility with IIS and ASP.Net: > > I've gotten the XSLTForms to work properly on IIS, delivered as > dynamically generated ASPX page rather than a static xml - I don't > know if anyone has worked on that already but I'd be happy to share tips. > > One compatibility issue that I've noticed is that the .properties > files, such as messages.properties, are not servered by IIS (7.0 in my > case) by default. In such a scenario, the date-picker will not > function correctly, among other problems. Once you realize that the > resources won't load, it is easy to add the mime-type in the IIS msc > panel if you have rights. I added .properties to have a mimetype of > text/plain and that fixes it. If possible, I'd recommend changing > .properties to something else, but I don't have any recommendation of > what the extension should be. > > Rather than putting the mime-type in the IIS configuration, I've just > read that it can be done at the web.config level: > > <configuration> > <system.webServer> > <staticContent> > <mimeMap fileExtension=".properties" mimeType="text/plain" /> > </staticContent> > </system.webServer> > </configuration> > > > Jason Kleban > 949 259 3923 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Jason K. <ja...@bi...> - 2009-12-04 22:05:12
|
I'm still stuck on this. I've tried: <xf:output ref="instance('questions')/question[position() = (count(current()/preceding-sibling::*) + 1)]/@text"></xf:output> but xsltforms keeps complaining about the preceding-sibling::* Since I need instance('questions')/question[position() = (count(current()/preceding-sibling::*) + 1)] for several things, I'd like to be able to store this in a variable and use it throughout my repeater - however, I'm not sure how xsltforms supports this. Thanks, Jason On Fri, Dec 4, 2009 at 11:18 AM, Jason Kleban <ja...@bi...> wrote: > I have an XForm survey. I'd like to keep the survey questions in a separate > xf:instance of the same model from the xf:instance that collects the > answers. In one instance, a group containing 10 questions. In a second > instance, a group to hold the 10 answers. The second instance will be > submitted. > > I've tried using logic like the following: > > <xf:output ref="instance('questions')/question[position()]/@text"></xf:output> > > but that position() is always returning 1, because the context is of the > questions xf:instance. Using the index('current-repeater') updates all 10 > displayed questions to be the question at the index of the most recently > focused repeat iteration. > > Is there a way to use a temporary variable in the xpath to accomplish this? > > Thanks, > > Jason > |
From: Dominique R. <dr...@gm...> - 2009-12-04 21:25:36
|
Just a little remark Problems about XSLTForms with environment dependencies such IIS versions, Java Tools, Browser version are not mainly areas of concern for XForms XSLTForms was made because none of browsers were able to provide XForms Turn around of browsers bugs cost is about tens of $ billions since 1995 Just a little remark Dominique Rabeuf XSLTForms Support since April 2009 2009/12/4 <xsl...@li...> > Send Xsltforms-support mailing list submissions to > xsl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > or, via email, send a message with subject or body 'help' to > xsl...@li... > > You can reach the person managing the list at > xsl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xsltforms-support digest..." > > > Today's Topics: > > 1. exist xml db 'Task Manager' example xforms (Stephen Cameron) > 2. Re: exist xml db 'Task Manager' example xforms (Wolfgang Meier) > 3. Forms are not loading after redirect (Wojtek) > 4. Forms are not loading after redirect (Wojtek) > 5. .properties files (Jason Kleban) > 6. JQuery & styling advice (Jason Kleban) > 7. Re: Forms are not loading after redirect (Klotz, Leigh) > 8. Re: Forms are not loading after redirect (Wojtek) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 03 Dec 2009 09:59:11 +1100 > From: Stephen Cameron <Ste...@ut...> > Subject: [Xsltforms-support] exist xml db 'Task Manager' example > xforms > To: xsl...@li... > Message-ID: <4B1...@ut...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > Can someone please tell me how to access the untranslated xforms for the > exist 'Task Manager' demo, I want to know how the 'Edit Projects' button > is implemented. > > I've downloaded and installed exist but cannot see the forms in the db > via the java admin client??? > > Thanks! > > -- > Regards > > Stephen Cameron > > Data Programmer > Integrated Marine Observing System (IMOS) > eMarine Information Infrastructure Project > University of Tasmania, Private Bag 21, Hobart, TAS 7001, Australia > > Tel: +61 3 6226 8507 > Fax: +61 3 6226 2997 > Email: ste...@ut... > URL: http://www.imos.org.au/eMII.html > > > > > ------------------------------ > > Message: 2 > Date: Thu, 3 Dec 2009 00:02:04 +0100 > From: Wolfgang Meier <wol...@ex...> > Subject: Re: [Xsltforms-support] exist xml db 'Task Manager' example > xforms > To: Stephen Cameron <Ste...@ut...> > Cc: xsl...@li... > Message-ID: > <19f...@ma...> > Content-Type: text/plain; charset=UTF-8 > > > Can someone please tell me how to access the untranslated xforms for the > > exist 'Task Manager' demo, I want to know how the 'Edit Projects' button > > is implemented. > > Please have a look at > > webapp/xforms/tasks/todo-list.xml > > in eXist's installation directory. This file contains the entire > xforms code for the app. > > Wolfgang > > > > ------------------------------ > > Message: 3 > Date: Fri, 04 Dec 2009 01:13:48 +0100 > From: Wojtek <spa...@ju...> > Subject: [Xsltforms-support] Forms are not loading after redirect > To: xsl...@li... > Message-ID: <4B1...@ju...> > Content-Type: text/plain; charset=ISO-8859-2; format=flowed > > Hi, > > I'm pretty new in the subject of XForms and of XSLTForms. I am creating > an application using JSP, and I try to use XSLTForms, but I faced the > problem, which looks like belongs to XSLTForms. > > After submitting a form, i redirect back to the form using: > <jsp:forward> > ( i have also tried with pageContext.forward() ) > but after succesful redirection forms are not loading. Page looks like > without XSLTForms. It is still the same page, which was properly > rendered a while ago before redirection, source looks the same. Anybody > has the idea what the problem might be? > > I have tested the same case with Mozilla XForms and it worked. > > Thanks for help! > Wojtek > > > > ------------------------------ > > Message: 4 > Date: Fri, 04 Dec 2009 01:26:02 +0100 > From: Wojtek <spa...@ju...> > Subject: [Xsltforms-support] Forms are not loading after redirect > To: xsl...@li... > Message-ID: <4B1...@ju...> > Content-Type: text/plain; charset=ISO-8859-2; format=flowed > > Hi, > > I'm pretty new in the subject of XForms and of XSLTForms. I am creating > an application using JSP, and I try to use XSLTForms, but I faced the > problem, which looks like belongs to XSLTForms. > > After submitting a form, i redirect back to the form using: > <jsp:forward> > ( i have also tried with pageContext.forward() ) > but after succesful redirection forms are not loading. Page looks like > without XSLTForms. It is still the same page, which was properly > rendered a while ago before redirection, source looks the same. Anybody > has the idea what the problem might be? > > I have tested the same case with Mozilla XForms and it worked. > > Thanks for help! > Wojtek > > > > > ------------------------------ > > Message: 5 > Date: Fri, 4 Dec 2009 08:47:47 -0800 > From: Jason Kleban <ja...@bi...> > Subject: [Xsltforms-support] .properties files > To: xsl...@li... > Message-ID: > <4c7...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > Some information about compatibility with IIS and ASP.Net: > > I've gotten the XSLTForms to work properly on IIS, delivered as dynamically > generated ASPX page rather than a static xml - I don't know if anyone has > worked on that already but I'd be happy to share tips. > > One compatibility issue that I've noticed is that the .properties files, > such as messages.properties, are not servered by IIS (7.0 in my case) by > default. In such a scenario, the date-picker will not function correctly, > among other problems. Once you realize that the resources won't load, it > is > easy to add the mime-type in the IIS msc panel if you have rights. I added > .properties to have a mimetype of text/plain and that fixes it. If > possible, I'd recommend changing .properties to something else, but I don't > have any recommendation of what the extension should be. > > Rather than putting the mime-type in the IIS configuration, I've just read > that it can be done at the web.config level: > > <configuration> > <system.webServer> > <staticContent> > <mimeMap fileExtension=".properties" mimeType="text/plain" /> > </staticContent> > </system.webServer> > </configuration> > > Jason Kleban > 949 259 3923 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Fri, 4 Dec 2009 08:34:33 -0800 > From: Jason Kleban <ja...@bi...> > Subject: [Xsltforms-support] JQuery & styling advice > To: xsl...@li... > Message-ID: > <4c7...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I LOVE this project - I've worked extensively with InfoPath and Forms > Server > to create full-featured forms for product demonstrations. Unfortuately, > InfoPath & Forms Server is so expensive that none of the many mid-large > clients I've worked with will actually budget for it. XForms is neat and > is > one of very few, if not ONLY viable InfoPath alternative, but by itself > still needs a compatible browser/plugin. XSLTForms seems to be a well > implemented solution. So accolades to the creators! > > I've searched the sourceforge list archive, and I've only seen it asked > once, with no answer. What is required to get JQuery working with > XSLTForms? I've figured out some of the CSS issues by following advice to > wrap my external css documents in <css></css> but similar suggestions of > CDATA for javascript is not effective. I can get XSLTForms OR JQuery > functionality, but not both. Is this an XML, an XHTML issue, or an > XSLTForms compatibility issue? > > I'm really only looking to be able to leverage the JQuery UI calendar > control for now which is styled a little fancier than the basic xsltforms > implementation - but I'm sure there will be other places it would be > useful. > > Also, I'm having trouble location information on how to appropraitely style > XSLTForms-generated controls. Is there a guide or some tips? I don't > necessarily want to go all-out with table-less forms layouts, I just want > to > give some inner shadow effects, alignment, and colors. > > Thanks, > > Jason > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Fri, 4 Dec 2009 09:20:47 -0800 > From: "Klotz, Leigh" <Lei...@XE...> > Subject: Re: [Xsltforms-support] Forms are not loading after redirect > To: "Wojtek" <spa...@ju...>, > <xsl...@li...> > Message-ID: > <E25...@US...> > Content-Type: text/plain; charset="iso-8859-1" > > Wojtek, > This may not be your issue, but check the Content-Type header on the > returned HTTP response after the forward. > If it's not application/xml it will not work in IE8 (at least). > Leigh. > > -----Original Message----- > From: Wojtek [mailto:spa...@ju...] > Sent: Thursday, December 03, 2009 4:14 PM > To: xsl...@li... > Subject: [Xsltforms-support] Forms are not loading after redirect > > Hi, > > I'm pretty new in the subject of XForms and of XSLTForms. I am creating an > application using JSP, and I try to use XSLTForms, but I faced the problem, > which looks like belongs to XSLTForms. > > After submitting a form, i redirect back to the form using: > <jsp:forward> > ( i have also tried with pageContext.forward() ) but after succesful > redirection forms are not loading. Page looks like without XSLTForms. It is > still the same page, which was properly rendered a while ago before > redirection, source looks the same. Anybody has the idea what the problem > might be? > > I have tested the same case with Mozilla XForms and it worked. > > Thanks for help! > Wojtek > > > > ------------------------------ > > Message: 8 > Date: Fri, 04 Dec 2009 19:59:31 +0100 > From: Wojtek <spa...@ju...> > Subject: Re: [Xsltforms-support] Forms are not loading after redirect > To: "Klotz, Leigh" <Lei...@XE...> > Cc: xsl...@li... > Message-ID: <4B1...@ju...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi! > > Thanks for your quick reply. Unfortunately it looks like this is not a > problem. I had Content-type set to text/xml, after changing it to > application/xml it is still the same. Besides, I am not using IE, I work > under Ubuntu, and testing it under Firefox and built-in eclipse browser. > After turning on, Mozilla XForms addon it works fine, after turning of > and attaching XSLTForms it is not working any more - even under Firefox. > But ONLY after redirect, normally it works fine. Of course, it looks > like it is a content-type problem, but if I use firebug and check > headers, they look fine. > > Any other ideas? > Wojtek > > Klotz, Leigh pisze: > > Wojtek, > > This may not be your issue, but check the Content-Type header on the > returned HTTP response after the forward. > > If it's not application/xml it will not work in IE8 (at least). > > Leigh. > > > > -----Original Message----- > > From: Wojtek [mailto:spa...@ju...] > > Sent: Thursday, December 03, 2009 4:14 PM > > To: xsl...@li... > > Subject: [Xsltforms-support] Forms are not loading after redirect > > > > Hi, > > > > I'm pretty new in the subject of XForms and of XSLTForms. I am creating > an application using JSP, and I try to use XSLTForms, but I faced the > problem, which looks like belongs to XSLTForms. > > > > After submitting a form, i redirect back to the form using: > > <jsp:forward> > > ( i have also tried with pageContext.forward() ) but after succesful > redirection forms are not loading. Page looks like without XSLTForms. It is > still the same page, which was properly rendered a while ago before > redirection, source looks the same. Anybody has the idea what the problem > might be? > > > > I have tested the same case with Mozilla XForms and it worked. > > > > Thanks for help! > > Wojtek > > > > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > > ------------------------------ > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > End of Xsltforms-support Digest, Vol 7, Issue 2 > *********************************************** > |
From: Jason K. <ja...@bi...> - 2009-12-04 19:18:42
|
I have an XForm survey. I'd like to keep the survey questions in a separate xf:instance of the same model from the xf:instance that collects the answers. In one instance, a group containing 10 questions. In a second instance, a group to hold the 10 answers. The second instance will be submitted. I've tried using logic like the following: <xf:output ref="instance('questions')/question[position()]/@text"></xf:output> but that position() is always returning 1, because the context is of the questions xf:instance. Using the index('current-repeater') updates all 10 displayed questions to be the question at the index of the most recently focused repeat iteration. Is there a way to use a temporary variable in the xpath to accomplish this? Thanks, Jason |
From: COUTHURES A. <ala...@ag...> - 2009-12-04 19:10:54
|
Wojtek, I think your problem is due to a limitation of XSLTForms. When a submission is performed by XMLHttpRequest, the result should be analyzed to look at an XSLT processing instruction. I haven't developed it yet because I prefer to use a specific submission method based on HTML form. Have a look at http://old.nabble.com/A-new-submit-method-for-implementing-replace%3D%22all%22-with-Javascript----td20638952.html Best regards, -Alain |
From: Wojtek <spa...@ju...> - 2009-12-04 18:59:47
|
Hi! Thanks for your quick reply. Unfortunately it looks like this is not a problem. I had Content-type set to text/xml, after changing it to application/xml it is still the same. Besides, I am not using IE, I work under Ubuntu, and testing it under Firefox and built-in eclipse browser. After turning on, Mozilla XForms addon it works fine, after turning of and attaching XSLTForms it is not working any more - even under Firefox. But ONLY after redirect, normally it works fine. Of course, it looks like it is a content-type problem, but if I use firebug and check headers, they look fine. Any other ideas? Wojtek Klotz, Leigh pisze: > Wojtek, > This may not be your issue, but check the Content-Type header on the returned HTTP response after the forward. > If it's not application/xml it will not work in IE8 (at least). > Leigh. > > -----Original Message----- > From: Wojtek [mailto:spa...@ju...] > Sent: Thursday, December 03, 2009 4:14 PM > To: xsl...@li... > Subject: [Xsltforms-support] Forms are not loading after redirect > > Hi, > > I'm pretty new in the subject of XForms and of XSLTForms. I am creating an application using JSP, and I try to use XSLTForms, but I faced the problem, which looks like belongs to XSLTForms. > > After submitting a form, i redirect back to the form using: > <jsp:forward> > ( i have also tried with pageContext.forward() ) but after succesful redirection forms are not loading. Page looks like without XSLTForms. It is still the same page, which was properly rendered a while ago before redirection, source looks the same. Anybody has the idea what the problem might be? > > I have tested the same case with Mozilla XForms and it worked. > > Thanks for help! > Wojtek > |
From: Klotz, L. <Lei...@XE...> - 2009-12-04 17:21:20
|
Wojtek, This may not be your issue, but check the Content-Type header on the returned HTTP response after the forward. If it's not application/xml it will not work in IE8 (at least). Leigh. -----Original Message----- From: Wojtek [mailto:spa...@ju...] Sent: Thursday, December 03, 2009 4:14 PM To: xsl...@li... Subject: [Xsltforms-support] Forms are not loading after redirect Hi, I'm pretty new in the subject of XForms and of XSLTForms. I am creating an application using JSP, and I try to use XSLTForms, but I faced the problem, which looks like belongs to XSLTForms. After submitting a form, i redirect back to the form using: <jsp:forward> ( i have also tried with pageContext.forward() ) but after succesful redirection forms are not loading. Page looks like without XSLTForms. It is still the same page, which was properly rendered a while ago before redirection, source looks the same. Anybody has the idea what the problem might be? I have tested the same case with Mozilla XForms and it worked. Thanks for help! Wojtek |
From: Jason K. <ja...@bi...> - 2009-12-04 17:02:13
|
Hi, I LOVE this project - I've worked extensively with InfoPath and Forms Server to create full-featured forms for product demonstrations. Unfortuately, InfoPath & Forms Server is so expensive that none of the many mid-large clients I've worked with will actually budget for it. XForms is neat and is one of very few, if not ONLY viable InfoPath alternative, but by itself still needs a compatible browser/plugin. XSLTForms seems to be a well implemented solution. So accolades to the creators! I've searched the sourceforge list archive, and I've only seen it asked once, with no answer. What is required to get JQuery working with XSLTForms? I've figured out some of the CSS issues by following advice to wrap my external css documents in <css></css> but similar suggestions of CDATA for javascript is not effective. I can get XSLTForms OR JQuery functionality, but not both. Is this an XML, an XHTML issue, or an XSLTForms compatibility issue? I'm really only looking to be able to leverage the JQuery UI calendar control for now which is styled a little fancier than the basic xsltforms implementation - but I'm sure there will be other places it would be useful. Also, I'm having trouble location information on how to appropraitely style XSLTForms-generated controls. Is there a guide or some tips? I don't necessarily want to go all-out with table-less forms layouts, I just want to give some inner shadow effects, alignment, and colors. Thanks, Jason |
From: Jason K. <ja...@bi...> - 2009-12-04 16:48:01
|
Hi, Some information about compatibility with IIS and ASP.Net: I've gotten the XSLTForms to work properly on IIS, delivered as dynamically generated ASPX page rather than a static xml - I don't know if anyone has worked on that already but I'd be happy to share tips. One compatibility issue that I've noticed is that the .properties files, such as messages.properties, are not servered by IIS (7.0 in my case) by default. In such a scenario, the date-picker will not function correctly, among other problems. Once you realize that the resources won't load, it is easy to add the mime-type in the IIS msc panel if you have rights. I added .properties to have a mimetype of text/plain and that fixes it. If possible, I'd recommend changing .properties to something else, but I don't have any recommendation of what the extension should be. Rather than putting the mime-type in the IIS configuration, I've just read that it can be done at the web.config level: <configuration> <system.webServer> <staticContent> <mimeMap fileExtension=".properties" mimeType="text/plain" /> </staticContent> </system.webServer> </configuration> Jason Kleban 949 259 3923 |
From: Wojtek <spa...@ju...> - 2009-12-04 00:57:16
|
Hi, I'm pretty new in the subject of XForms and of XSLTForms. I am creating an application using JSP, and I try to use XSLTForms, but I faced the problem, which looks like belongs to XSLTForms. After submitting a form, i redirect back to the form using: <jsp:forward> ( i have also tried with pageContext.forward() ) but after succesful redirection forms are not loading. Page looks like without XSLTForms. It is still the same page, which was properly rendered a while ago before redirection, source looks the same. Anybody has the idea what the problem might be? I have tested the same case with Mozilla XForms and it worked. Thanks for help! Wojtek |
From: Wojtek <spa...@ju...> - 2009-12-04 00:40:36
|
Hi, I'm pretty new in the subject of XForms and of XSLTForms. I am creating an application using JSP, and I try to use XSLTForms, but I faced the problem, which looks like belongs to XSLTForms. After submitting a form, i redirect back to the form using: <jsp:forward> ( i have also tried with pageContext.forward() ) but after succesful redirection forms are not loading. Page looks like without XSLTForms. It is still the same page, which was properly rendered a while ago before redirection, source looks the same. Anybody has the idea what the problem might be? I have tested the same case with Mozilla XForms and it worked. Thanks for help! Wojtek |
From: Wolfgang M. <wol...@ex...> - 2009-12-02 23:02:18
|
> Can someone please tell me how to access the untranslated xforms for the > exist 'Task Manager' demo, I want to know how the 'Edit Projects' button > is implemented. Please have a look at webapp/xforms/tasks/todo-list.xml in eXist's installation directory. This file contains the entire xforms code for the app. Wolfgang |
From: Stephen C. <Ste...@ut...> - 2009-12-02 22:59:31
|
Hi, Can someone please tell me how to access the untranslated xforms for the exist 'Task Manager' demo, I want to know how the 'Edit Projects' button is implemented. I've downloaded and installed exist but cannot see the forms in the db via the java admin client??? Thanks! -- Regards Stephen Cameron Data Programmer Integrated Marine Observing System (IMOS) eMarine Information Infrastructure Project University of Tasmania, Private Bag 21, Hobart, TAS 7001, Australia Tel: +61 3 6226 8507 Fax: +61 3 6226 2997 Email: ste...@ut... URL: http://www.imos.org.au/eMII.html |
From: Klotz, L. <Lei...@xe...> - 2009-12-01 22:54:14
|
You might take a look at Alan Beaufort's "XForms Buddy" to see how another implementation has handled this debugging feature. Leigh. -----Original Message----- From: COUTHURES Alain [mailto:ala...@ag...] Sent: Tuesday, December 01, 2009 1:43 PM To: Claudius Teodorescu Cc: xsl...@li... Subject: Re: [Xsltforms-support] Proposal for viewer of data instances Hi Claudius, > Do you think it is possible to have a button under "Debug" checkbox, which would open another windows and list all the runtime data instances? Just listing in a simple format. > Yes! It's an interesting idea and I will probably implement it soon because, except for indentation, it shouldn't be difficult to do. Thanks! -Alain ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Klotz, L. <Lei...@xe...> - 2009-12-01 22:41:24
|
You might consider using the XForms 1.1 submission/resource element instead of an AVT. http://www.w3.org/TR/xforms11/#submit-resource-elem Leigh. -----Original Message----- From: COUTHURES Alain [mailto:ala...@ag...] Sent: Tuesday, December 01, 2009 1:26 PM To: Paul Kelly Cc: XSLTForms support Subject: Re: [Xsltforms-support] Does it interpret "{}" in a resourcerequest? Paul, > I have a lot of submissions based on variables like the following: > > <xforms:submission ref="instance('teams')" id="add-team" > replace="instance" instance="teams" method="get" > resource="/exist/rest//db/newsml/{instance('data')/selected-sport}"/> > > see: {instance('data')/selected-sport} > > This gets turned into the following request: > > "GET /exist/rest//db/newsml/%7Binstance(%27data%27)/selected-sport%7D? > HTTP/1.1" 404 > > I think my submission path is acceptable xforms (works for Mozilla plugin and Orbeon) but is there another way I need to formulate it for XSLTForms? > XForms 1.1 defines a sub-element "xforms:resource" with a value attribute, for example, so {} notation (AVT) is not required for that. This sub-element is supported by XSLTForms. AVT should be supported in XSLTForms as an extension but probably not for XForms attributes but for HTML attributes or SVG attributes... Best regards, -Alain ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: COUTHURES A. <ala...@ag...> - 2009-12-01 21:43:15
|
Hi Claudius, > Do you think it is possible to have a button under "Debug" checkbox, which would open another windows and list all the runtime data instances? Just listing in a simple format. > Yes! It's an interesting idea and I will probably implement it soon because, except for indentation, it shouldn't be difficult to do. Thanks! -Alain |
From: COUTHURES A. <ala...@ag...> - 2009-12-01 21:39:38
|
Hello Javier, > In xsltforms.xsl, the property 'indent="no"' from <xsl:output > method="html" omit-xml-declaration="no" doctype-public="-//W3C//DTD > XHTML 1.0 Transitional//EN"/> disappears in this version Thank you for noticing this problem. This has now been fixed in xsltforms.xsl build process. > and although it seems it works ok when using in a xsl client > transformation, when applying the xsltform.xsl in server side, the > html generated doesn't work properly. indent="no" is very important because indent="yes" would add a lot of extra text nodes and this would disturbed enough the Javascript part of XSLTForms to have wrong behavior. It could be possible to modify XSLTForms to support those extra nodes but this would mean extra Javascript instructions and would slow the rendering... Best regards, -Alain |
From: COUTHURES A. <ala...@ag...> - 2009-12-01 21:28:58
|
Paul, > Tested outside of eXist stright thru xsltproc and xalan and the output is fine -- no truncation. > > Further testing with eXist points to XSLTServlet when called from a urlrewrite controller. In fact, it you pass it thru XSLTServlet twice you lose TWO characters off the left-side name of the element i.e. "newsml:newsItem" becomes "news:newsItem". > > Did you run it through the eXist xforms setup? Here are the two controller snippets I tested with (filename = namespace-in-instance.xml): > > One char truncation: > > else if (ends-with($exist:resource, '.xml')) then > let $relPath := '../' > return > <dispatch xmlns="http://exist.sourceforge.net/NS/exist"> > <view> > <forward servlet="XSLTServlet"> > (: Apply xsltforms.xsl stylesheet :) > <set-attribute name="xslt.stylesheet" > value="{$relPath}xforms/xsltforms/xsltforms.xsl"/> > <set-attribute name="xslt.output.omit-xml-declaration" value="yes"/> > <set-attribute name="xslt.output.indent" value="no"/> > <set-attribute name="xslt.output.media-type" value="text/html"/> > <set-attribute name="xslt.output.method" value="xhtml"/> > <set-attribute name="xslt.baseuri" value="{$relPath}xforms/xsltforms/"/> > </forward> > </view> > <cache-control cache="yes"/> > </dispatch> > > > Two char truncation: > > else if ($exist:resource = ('todo-list.xml', 'shakespeare.xml', 'namespace-in-instance.xml')) then > let $relPath := if ($exist:resource eq 'todo-list.xml') then '../' else '' > return > <dispatch xmlns="http://exist.sourceforge.net/NS/exist"> > <view> > <forward servlet="XSLTServlet"> > <set-attribute name="xslt.stylesheet" > value="{$exist:root}/stylesheets/db2xhtml.xsl"/> > <set-attribute name="xslt.syntax-highlight" > value="no"/> > </forward> > <forward servlet="XSLTServlet"> > (: Apply xsltforms.xsl stylesheet :) > <set-attribute name="xslt.stylesheet" > value="{$relPath}xsltforms/xsltforms.xsl"/> > <set-attribute name="xslt.output.omit-xml-declaration" value="yes"/> > <set-attribute name="xslt.output.indent" value="no"/> > <set-attribute name="xslt.output.media-type" value="text/html"/> > <set-attribute name="xslt.output.method" value="xhtml"/> > <set-attribute name="xslt.baseuri" value="{$relPath}xsltforms/"/> > </forward> > </view> > <cache-control cache="yes"/> > </dispatch> > I don't know if it's a known problem for a version of eXist so may be you should post this to eXist support mailing list. Best regards, -Alain |
From: COUTHURES A. <ala...@ag...> - 2009-12-01 21:26:08
|
Paul, > I have a lot of submissions based on variables like the following: > > <xforms:submission ref="instance('teams')" id="add-team" replace="instance" instance="teams" method="get" resource="/exist/rest//db/newsml/{instance('data')/selected-sport}"/> > > see: {instance('data')/selected-sport} > > This gets turned into the following request: > > "GET /exist/rest//db/newsml/%7Binstance(%27data%27)/selected-sport%7D? HTTP/1.1" 404 > > I think my submission path is acceptable xforms (works for Mozilla plugin and Orbeon) but is there another way I need to formulate it for XSLTForms? > XForms 1.1 defines a sub-element "xforms:resource" with a value attribute, for example, so {} notation (AVT) is not required for that. This sub-element is supported by XSLTForms. AVT should be supported in XSLTForms as an extension but probably not for XForms attributes but for HTML attributes or SVG attributes... Best regards, -Alain |
From: Paul K. <pa...@xm...> - 2009-12-01 19:02:10
|
I have a lot of submissions based on variables like the following: <xforms:submission ref="instance('teams')" id="add-team" replace="instance" instance="teams" method="get" resource="/exist/rest//db/newsml/{instance('data')/selected-sport}"/> see: {instance('data')/selected-sport} This gets turned into the following request: "GET /exist/rest//db/newsml/%7Binstance(%27data%27)/selected-sport%7D? HTTP/1.1" 404 I think my submission path is acceptable xforms (works for Mozilla plugin and Orbeon) but is there another way I need to formulate it for XSLTForms? |
From: Paul K. <pa...@xm...> - 2009-12-01 18:04:11
|
On 2009-11-28, at 9:14 AM, COUTHURES Alain wrote: >> Are you able to reproduce based on that second corrected code I sent, Alain? >> >> > No, I can't reproduce that... > > Can you test on another machine ? Tested outside of eXist stright thru xsltproc and xalan and the output is fine -- no truncation. Further testing with eXist points to XSLTServlet when called from a urlrewrite controller. In fact, it you pass it thru XSLTServlet twice you lose TWO characters off the left-side name of the element i.e. "newsml:newsItem" becomes "news:newsItem". Did you run it through the eXist xforms setup? Here are the two controller snippets I tested with (filename = namespace-in-instance.xml): One char truncation: else if (ends-with($exist:resource, '.xml')) then let $relPath := '../' return <dispatch xmlns="http://exist.sourceforge.net/NS/exist"> <view> <forward servlet="XSLTServlet"> (: Apply xsltforms.xsl stylesheet :) <set-attribute name="xslt.stylesheet" value="{$relPath}xforms/xsltforms/xsltforms.xsl"/> <set-attribute name="xslt.output.omit-xml-declaration" value="yes"/> <set-attribute name="xslt.output.indent" value="no"/> <set-attribute name="xslt.output.media-type" value="text/html"/> <set-attribute name="xslt.output.method" value="xhtml"/> <set-attribute name="xslt.baseuri" value="{$relPath}xforms/xsltforms/"/> </forward> </view> <cache-control cache="yes"/> </dispatch> Two char truncation: else if ($exist:resource = ('todo-list.xml', 'shakespeare.xml', 'namespace-in-instance.xml')) then let $relPath := if ($exist:resource eq 'todo-list.xml') then '../' else '' return <dispatch xmlns="http://exist.sourceforge.net/NS/exist"> <view> <forward servlet="XSLTServlet"> <set-attribute name="xslt.stylesheet" value="{$exist:root}/stylesheets/db2xhtml.xsl"/> <set-attribute name="xslt.syntax-highlight" value="no"/> </forward> <forward servlet="XSLTServlet"> (: Apply xsltforms.xsl stylesheet :) <set-attribute name="xslt.stylesheet" value="{$relPath}xsltforms/xsltforms.xsl"/> <set-attribute name="xslt.output.omit-xml-declaration" value="yes"/> <set-attribute name="xslt.output.indent" value="no"/> <set-attribute name="xslt.output.media-type" value="text/html"/> <set-attribute name="xslt.output.method" value="xhtml"/> <set-attribute name="xslt.baseuri" value="{$relPath}xsltforms/"/> </forward> </view> <cache-control cache="yes"/> </dispatch> |
From: Klotz, L. <Lei...@xe...> - 2009-11-30 21:42:21
|
Owen, As often happens with mailing list threads, my comments were far removed from your original post. Please don't read anything into them. I was just answering Micah's point, that the RNG schemas have been updated to XForms 1.1 and are now part of the XForms recommendation. Leigh. ________________________________ From: Owen Newnan [mailto:on...@gm...] Sent: Monday, November 30, 2009 1:28 PM To: Klotz, Leigh Cc: Micah Dubinko; xsl...@li... Subject: Re: [Xsltforms-support] Syntax errors in the XSLTForms examples Leigh, I have no issue with RNG but have only passing familiarity with it. I believe that what I have produced provides a useful tool for XForms 1.1 developers familiar with XML-Schema. My understanding is that XSD and RNG are quite similar in expressive power and that it is possible to use tools like Trang to convert between them. Indeed, I've succeeded converting RNG to valid XSD using Trang in the past . I believe the syntax of the schema should be of no concern to the developer seeking to validate an instnce. To advance the cause of XForms, let's get useful tools in the hands of developers as quickly as possible. I believe it would be ideal to do that under the auspices of W3C. Obviously, semantic validation (e.g., XPath validation) is needed in addition to the syntactical validation an XSD provides. Online and offline validators that do that for XForms 1.1 would be a boon. However, I'm not personally in a position to contribute to such efforts at present. Best Owen Newnan On Mon, Nov 30, 2009 at 11:24 AM, Klotz, Leigh <Lei...@xe...> wrote: We've recently (with Micah's permission) re-published the RNG schemas from XFV as part of the XForms 1.1 Recommendation, with equal status to the W3C XML Schema. See http://www.w3.org/TR/xforms11/#schema I've previously integrated Micah's RNC schema into the nXML package from James Clark and use it for authoring and validation. It would be good to do this again with the XForms 1.1 RNC schema. Leigh. -----Original Message----- From: Micah Dubinko [mailto:Mic...@ma...] Sent: Monday, November 30, 2009 10:07 AM To: Owen Newnan Cc: xsl...@li... Subject: Re: [Xsltforms-support] Syntax errors in the XSLTForms examples This is pretty similar to the approach taken by the XForms Validator (XFV), which is online at http://xformsinstitute.com/validator/ It uses Relax NG schemas, which need to be updated to 1.1, plus XPath validation. Source is available: http://sourceforge.net/projects/xfv/ I'd love to get more developers on the project... -m On Nov 28, 2009, at 1:03 PM, Owen Newnan wrote: > Alain, > > I do intend to launch an open source project providing tools for XSD-based application development. However, that's a ways off. My XForms tool is presently a prototype, a hack of the XHTML 1.0 schema. It appears to me that a more rigorous implementation would be based on the XHTML 2.0 XForms module, even though the XHTML charter is expiring (what do you think?). Anyhow, I'd be glad to make a product of this and share it with whoever is interested. That would of course require vehicles for posting, entering bugs and providing support. Perhaps we could do that under auspices of XSLTForms, or maybe I could accelerate setting up my project. > > I will attempt to build a more robust product and then get back to you. > > Cheers! > Owen > > On Sat, Nov 28, 2009 at 6:51 AM, COUTHURES Alain <ala...@ag...> wrote: > Owen, > >> I built a hybrid XForms 1.1. / XHTML schema to validate XForms, then ran it against your examples to test it. > This is a very interesting project. Is it an open source project ? XSLTForms doesn't validate XForms and it can be difficult for developers to locate problems. > >> Attached are the messages that resulted. I believe these to be accurate from the perspective of strict XHTML / XForms validation; please let me know if you think otherwise. > These examples have not been constructed in XHTML validation perspective but your report will be useful to help for this: > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:7:66: cvc-complex-type.3.2.2: Attribute 'xsd:dummy' is not allowed to appear in element 'html'. > 1. This is a workaround for FireFox XSLT engine not supporting namespace axis. It should be useless, in almost cases, with the next release. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:52:116: cvc-complex-type.3.2.2: Attribute 'show' is not allowed to appear in element 'xforms:submission'. > 2. This is an extension which could be integrated in XForms 1.2. It should be attached to a different namespace for validation. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select-model.xml:39:57: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:itemset'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select1.xml:20:22: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:item'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:56:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:input'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/calculator.xml:241:41: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:trigger'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. > 3. But there is one xf:label element ??? >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:20:40: cvc-complex-type.3.2.2: Attribute 'nodeset' is not allowed to appear in element 'xf:group'. > 4. Yes, that's right. It wasn't detected before because it's useless anyway. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:23:23: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:label'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2! 002/xforms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":sa! mp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 5. "fieldset" and "xf:group" have to be swapped. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:51:57: UndeclaredPrefix: Cannot resolve 'xsltforms:decimal' as a QName: the prefix 'xsltforms' is not declared. > 6. Yes, the corresponding namespace declaration is missing. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/xpath.xml:30:13: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ajx:tabs'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2002/xf! orms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 7. ajx:tabs is an AJAXForms extension which will be depreciated in the > next release Examples have been partially updated and committed in the SVN repository. > > Thanks! > > -Alain > > > > > > -- > Best, > > Owen Newnan > > cell 720 260-5753 > home 303 697 1925 > http://www.linkedin.com/in/OwenNewnan > > ---------------------------------------------------------------------- > -------- Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, integration > and deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july_________________________________________ > ______ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support -- Best, Owen Newnan cell 720 260-5753 home 303 697 1925 http://www.linkedin.com/in/OwenNewnan |
From: Owen N. <on...@gm...> - 2009-11-30 21:27:59
|
Leigh, I have no issue with RNG but have only passing familiarity with it. I believe that what I have produced provides a useful tool for XForms 1.1 developers familiar with XML-Schema. My understanding is that XSD and RNG are quite similar in expressive power and that it is possible to use tools like Trang to convert between them. Indeed, I've succeeded converting RNG to valid XSD using Trang in the past . I believe the syntax of the schema should be of no concern to the developer seeking to validate an instnce. To advance the cause of XForms, let's get useful tools in the hands of developers as quickly as possible. I believe it would be ideal to do that under the auspices of W3C. Obviously, semantic validation (e.g., XPath validation) is needed in addition to the syntactical validation an XSD provides. Online and offline validators that do that for XForms 1.1 would be a boon. However, I'm not personally in a position to contribute to such efforts at present. Best Owen Newnan On Mon, Nov 30, 2009 at 11:24 AM, Klotz, Leigh <Lei...@xe...>wrote: > We've recently (with Micah's permission) re-published the RNG schemas from > XFV as part of the XForms 1.1 Recommendation, with equal status to the W3C > XML Schema. > > See http://www.w3.org/TR/xforms11/#schema > > I've previously integrated Micah's RNC schema into the nXML package from > James Clark and use it for authoring and validation. > It would be good to do this again with the XForms 1.1 RNC schema. > > Leigh. > > > -----Original Message----- > From: Micah Dubinko [mailto:Mic...@ma...] > Sent: Monday, November 30, 2009 10:07 AM > To: Owen Newnan > Cc: xsl...@li... > Subject: Re: [Xsltforms-support] Syntax errors in the XSLTForms examples > > This is pretty similar to the approach taken by the XForms Validator (XFV), > which is online at > > http://xformsinstitute.com/validator/ > > It uses Relax NG schemas, which need to be updated to 1.1, plus XPath > validation. > > Source is available: http://sourceforge.net/projects/xfv/ > > I'd love to get more developers on the project... > > -m > > On Nov 28, 2009, at 1:03 PM, Owen Newnan wrote: > > > Alain, > > > > I do intend to launch an open source project providing tools for > XSD-based application development. However, that's a ways off. My XForms > tool is presently a prototype, a hack of the XHTML 1.0 schema. It appears > to me that a more rigorous implementation would be based on the XHTML 2.0 > XForms module, even though the XHTML charter is expiring (what do you > think?). Anyhow, I'd be glad to make a product of this and share it with > whoever is interested. That would of course require vehicles for posting, > entering bugs and providing support. Perhaps we could do that under > auspices of XSLTForms, or maybe I could accelerate setting up my project. > > > > I will attempt to build a more robust product and then get back to you. > > > > Cheers! > > Owen > > > > On Sat, Nov 28, 2009 at 6:51 AM, COUTHURES Alain < > ala...@ag...> wrote: > > Owen, > > > >> I built a hybrid XForms 1.1. / XHTML schema to validate XForms, then ran > it against your examples to test it. > > This is a very interesting project. Is it an open source project ? > XSLTForms doesn't validate XForms and it can be difficult for developers to > locate problems. > > > >> Attached are the messages that resulted. I believe these to be accurate > from the perspective of strict XHTML / XForms validation; please let me know > if you think otherwise. > > These examples have not been constructed in XHTML validation perspective > but your report will be useful to help for this: > > > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/balance.xml:7:66: cvc-complex-type.3.2.2: Attribute > 'xsd:dummy' is not allowed to appear in element 'html'. > > 1. This is a workaround for FireFox XSLT engine not supporting namespace > axis. It should be useless, in almost cases, with the next release. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/balance.xml:52:116: cvc-complex-type.3.2.2: Attribute > 'show' is not allowed to appear in element 'xforms:submission'. > > 2. This is an extension which could be integrated in XForms 1.2. It > should be attached to a different namespace for validation. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/select-model.xml:39:57: cvc-complex-type.2.4.a: > Invalid content was found starting with element 'xf:itemset'. One of '{" > http://www.w3.org/2002/xforms":label}' is expected. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/select1.xml:20:22: cvc-complex-type.2.4.a: Invalid > content was found starting with element 'xf:item'. One of '{" > http://www.w3.org/2002/xforms":label}' is expected. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/spreadsheet.xml:56:55: cvc-complex-type.2.4.a: Invalid > content was found starting with element 'xf:input'. One of '{" > http://www.w3.org/2002/xforms":label}' is expected. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/calculator.xml:241:41: cvc-complex-type.2.4.a: Invalid > content was found starting with element 'xf:trigger'. One of '{" > http://www.w3.org/2002/xforms":label}' is expected. > > 3. But there is one xf:label element ??? > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/incremental.xml:20:40: cvc-complex-type.3.2.2: > Attribute 'nodeset' is not allowed to appear in element 'xf:group'. > > 4. Yes, that's right. It wasn't detected before because it's useless > anyway. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/incremental.xml:23:23: cvc-complex-type.2.4.a: Invalid > content was found starting with element 'xf:label'. One of '{" > http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, " > http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, " > http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, " > http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, " > http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, " > http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, " > http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, " > http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, > "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, > "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, > "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2! > 002/xforms":input, "http://www.w3.org/2002/xforms":output, " > http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, > "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, > "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, > "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, > "http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":span, " > http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, " > http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, > "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, " > http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, " > http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, " > http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, > "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, " > http://www.w3.org/1999/xhtml":sa! > mp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, > "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, > "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, > "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, > "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, > "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, > "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, > "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' > is expected. > > 5. "fieldset" and "xf:group" have to be swapped. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/spreadsheet.xml:51:57: UndeclaredPrefix: Cannot > resolve 'xsltforms:decimal' as a QName: the prefix 'xsltforms' is not > declared. > > 6. Yes, the corresponding namespace declaration is missing. > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML > Stuff/XSLTForms-Demos/xpath.xml:30:13: cvc-complex-type.2.4.a: Invalid > content was found starting with element 'ajx:tabs'. One of '{" > http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, " > http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, " > http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, " > http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, " > http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, " > http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, " > http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, " > http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, > "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, > "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, > "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2002/xf! > orms":input, "http://www.w3.org/2002/xforms":output, " > http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, > "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, > "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, > "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, > "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, > "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' > is expected. > > 7. ajx:tabs is an AJAXForms extension which will be depreciated in the > > next release Examples have been partially updated and committed in the > SVN repository. > > > > Thanks! > > > > -Alain > > > > > > > > > > > > -- > > Best, > > > > Owen Newnan > > > > cell 720 260-5753 > > home 303 697 1925 > > http://www.linkedin.com/in/OwenNewnan > > > > ---------------------------------------------------------------------- > > -------- Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day trial. Simplify your report design, integration > > and deployment - and focus on what you do best, core application > > coding. Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july_________________________________________ > > ______ > > Xsltforms-support mailing list > > Xsl...@li... > > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > -- Best, Owen Newnan cell 720 260-5753 home 303 697 1925 http://www.linkedin.com/in/OwenNewnan |
From: Klotz, L. <Lei...@xe...> - 2009-11-30 18:24:37
|
We've recently (with Micah's permission) re-published the RNG schemas from XFV as part of the XForms 1.1 Recommendation, with equal status to the W3C XML Schema. See http://www.w3.org/TR/xforms11/#schema I've previously integrated Micah's RNC schema into the nXML package from James Clark and use it for authoring and validation. It would be good to do this again with the XForms 1.1 RNC schema. Leigh. -----Original Message----- From: Micah Dubinko [mailto:Mic...@ma...] Sent: Monday, November 30, 2009 10:07 AM To: Owen Newnan Cc: xsl...@li... Subject: Re: [Xsltforms-support] Syntax errors in the XSLTForms examples This is pretty similar to the approach taken by the XForms Validator (XFV), which is online at http://xformsinstitute.com/validator/ It uses Relax NG schemas, which need to be updated to 1.1, plus XPath validation. Source is available: http://sourceforge.net/projects/xfv/ I'd love to get more developers on the project... -m On Nov 28, 2009, at 1:03 PM, Owen Newnan wrote: > Alain, > > I do intend to launch an open source project providing tools for XSD-based application development. However, that's a ways off. My XForms tool is presently a prototype, a hack of the XHTML 1.0 schema. It appears to me that a more rigorous implementation would be based on the XHTML 2.0 XForms module, even though the XHTML charter is expiring (what do you think?). Anyhow, I'd be glad to make a product of this and share it with whoever is interested. That would of course require vehicles for posting, entering bugs and providing support. Perhaps we could do that under auspices of XSLTForms, or maybe I could accelerate setting up my project. > > I will attempt to build a more robust product and then get back to you. > > Cheers! > Owen > > On Sat, Nov 28, 2009 at 6:51 AM, COUTHURES Alain <ala...@ag...> wrote: > Owen, > >> I built a hybrid XForms 1.1. / XHTML schema to validate XForms, then ran it against your examples to test it. > This is a very interesting project. Is it an open source project ? XSLTForms doesn't validate XForms and it can be difficult for developers to locate problems. > >> Attached are the messages that resulted. I believe these to be accurate from the perspective of strict XHTML / XForms validation; please let me know if you think otherwise. > These examples have not been constructed in XHTML validation perspective but your report will be useful to help for this: > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:7:66: cvc-complex-type.3.2.2: Attribute 'xsd:dummy' is not allowed to appear in element 'html'. > 1. This is a workaround for FireFox XSLT engine not supporting namespace axis. It should be useless, in almost cases, with the next release. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:52:116: cvc-complex-type.3.2.2: Attribute 'show' is not allowed to appear in element 'xforms:submission'. > 2. This is an extension which could be integrated in XForms 1.2. It should be attached to a different namespace for validation. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select-model.xml:39:57: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:itemset'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select1.xml:20:22: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:item'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:56:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:input'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/calculator.xml:241:41: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:trigger'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. > 3. But there is one xf:label element ??? >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:20:40: cvc-complex-type.3.2.2: Attribute 'nodeset' is not allowed to appear in element 'xf:group'. > 4. Yes, that's right. It wasn't detected before because it's useless anyway. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:23:23: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:label'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2! 002/xforms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":sa! mp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 5. "fieldset" and "xf:group" have to be swapped. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:51:57: UndeclaredPrefix: Cannot resolve 'xsltforms:decimal' as a QName: the prefix 'xsltforms' is not declared. > 6. Yes, the corresponding namespace declaration is missing. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/xpath.xml:30:13: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ajx:tabs'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2002/xf! orms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 7. ajx:tabs is an AJAXForms extension which will be depreciated in the > next release Examples have been partially updated and committed in the SVN repository. > > Thanks! > > -Alain > > > > > > -- > Best, > > Owen Newnan > > cell 720 260-5753 > home 303 697 1925 > http://www.linkedin.com/in/OwenNewnan > > ---------------------------------------------------------------------- > -------- Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, integration > and deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july_________________________________________ > ______ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Micah D. <Mic...@ma...> - 2009-11-30 18:19:40
|
This is pretty similar to the approach taken by the XForms Validator (XFV), which is online at http://xformsinstitute.com/validator/ It uses Relax NG schemas, which need to be updated to 1.1, plus XPath validation. Source is available: http://sourceforge.net/projects/xfv/ I'd love to get more developers on the project... -m On Nov 28, 2009, at 1:03 PM, Owen Newnan wrote: > Alain, > > I do intend to launch an open source project providing tools for XSD-based application development. However, that's a ways off. My XForms tool is presently a prototype, a hack of the XHTML 1.0 schema. It appears to me that a more rigorous implementation would be based on the XHTML 2.0 XForms module, even though the XHTML charter is expiring (what do you think?). Anyhow, I'd be glad to make a product of this and share it with whoever is interested. That would of course require vehicles for posting, entering bugs and providing support. Perhaps we could do that under auspices of XSLTForms, or maybe I could accelerate setting up my project. > > I will attempt to build a more robust product and then get back to you. > > Cheers! > Owen > > On Sat, Nov 28, 2009 at 6:51 AM, COUTHURES Alain <ala...@ag...> wrote: > Owen, > >> I built a hybrid XForms 1.1. / XHTML schema to validate XForms, then ran it against your examples to test it. > This is a very interesting project. Is it an open source project ? XSLTForms doesn't validate XForms and it can be difficult for developers to locate problems. > >> Attached are the messages that resulted. I believe these to be accurate from the perspective of strict XHTML / XForms validation; please let me know if you think otherwise. > These examples have not been constructed in XHTML validation perspective but your report will be useful to help for this: > >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:7:66: cvc-complex-type.3.2.2: Attribute 'xsd:dummy' is not allowed to appear in element 'html'. > 1. This is a workaround for FireFox XSLT engine not supporting namespace axis. It should be useless, in almost cases, with the next release. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/balance.xml:52:116: cvc-complex-type.3.2.2: Attribute 'show' is not allowed to appear in element 'xforms:submission'. > 2. This is an extension which could be integrated in XForms 1.2. It should be attached to a different namespace for validation. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select-model.xml:39:57: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:itemset'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/select1.xml:20:22: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:item'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:56:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:input'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/calculator.xml:241:41: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:trigger'. One of '{"http://www.w3.org/2002/xforms":label}' is expected. > 3. But there is one xf:label element ??? >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:20:40: cvc-complex-type.3.2.2: Attribute 'nodeset' is not allowed to appear in element 'xf:group'. > 4. Yes, that's right. It wasn't detected before because it's useless anyway. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/incremental.xml:23:23: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xf:label'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2002/xforms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 5. "fieldset" and "xf:group" have to be swapped. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/spreadsheet.xml:51:57: UndeclaredPrefix: Cannot resolve 'xsltforms:decimal' as a QName: the prefix 'xsltforms' is not declared. > 6. Yes, the corresponding namespace declaration is missing. >> [schemavalidate] /Users/Shared/workspaces/workspace/XML Stuff/XSLTForms-Demos/xpath.xml:30:13: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ajx:tabs'. One of '{"http://www.w3.org/1999/xhtml":p, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":h1, "http://www.w3.org/1999/xhtml":h2, "http://www.w3.org/1999/xhtml":h3, "http://www.w3.org/1999/xhtml":h4, "http://www.w3.org/1999/xhtml":h5, "http://www.w3.org/1999/xhtml":h6, "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul, "http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl, "http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr, "http://www.w3.org/1999/xhtml":blockquote, "http://www.w3.org/1999/xhtml":address, "http://www.w3.org/1999/xhtml":fieldset, "http://www.w3.org/1999/xhtml":table, "http://www.w3.org/2002/xforms":group, "http://www.w3.org/2002/xforms":repeat, "http://www.w3.org/2002/xforms":switch, "http://www.w3.org/2002/xforms":input, "http://www.w3.org/2002/xforms":output, "http://www.w3.org/2002/xforms":range, "http://www.w3.org/2002/xforms":secret, "http://www.w3.org/2002/xforms":select1, "http://www.w3.org/2002/xforms":select, "http://www.w3.org/2002/xforms":submit, "http://www.w3.org/2002/xforms":textarea, "http://www.w3.org/2002/xforms":trigger, "http://www.w3.org/1999/xhtml":form, "http://www.w3.org/1999/xhtml":noscript, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del, "http://www.w3.org/1999/xhtml":script}' is expected. > 7. ajx:tabs is an AJAXForms extension which will be depreciated in the next release > Examples have been partially updated and committed in the SVN repository. > > Thanks! > > -Alain > > > > > > -- > Best, > > Owen Newnan > > cell 720 260-5753 > home 303 697 1925 > http://www.linkedin.com/in/OwenNewnan > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |