Paul Butcher's blog

Different behaviour of repeat in 1.5 and later

Forms with xf:repeat may render differently in version 1.5 and later, compared to 1.4, this is due to a change in the relationship between repeat, repeat-item, and the document.

This can best be seen where the background-color of repeat-index or repeat-item differs from the background-color of the document. This is rendered as a strip of differing background colour over the entire width of the page, rather than being constrained to the apparent width of the repeat-iteration (i.e. the width of the contained controls and text), as it is in 1.4.

Obtaining data from a submission that's in error

Some services return non-successful HTTP status codes, but still expect the client to respond to the body of the response. For example, a SOAP request to add a new customer to a database might return an HTTP 500 code to indicate that the customer already exists, but the actual body of the response might be perfectly usable XML.

Since XForms discards returned data when there is a submission error, and classes HTTP 500 as an error, we have introduced the instance-error attribute on submission.

submission with @replace="text", and the new target attribute

This week, Mark came back from the XForms Working Group face-to-face meeting with news of a potential new XForms feature--the ability to handle non-XML responses from submissions.