Newlines and tabs

There are a few areas where the spec is silent about how it handles certain characters.

(1) Must the XForms processor support a <label> value that contains newlines or tabs?

(2) What should the processor do if it encounters an <input> value that contains newlines or tabs?

(3) Must the processor preserve newline and tab characters, even in the face of XML end-of-line normalization and attribute-value normalization?  Without significant gyrations, CR characters in XML text content, as well as CR, LF and TAB characters in attribute values, get lost when you round-trip an XML document using one of the standard parsers. I'm worried that the fields in the initial instance data will be different when they come back to the server, even if they're not modified on the client at all. Should we require the XForms processors to not lose this information, or should we warn XForms authors that this information might get lost?

On another topic, I've seen numerous XForms containg <label> values that end in colons. I assume that this is not the intent of the spec - adornments such as colons should be the (optional) job of the XForms processor, not the XForms document, right? Maybe the spec should mention this?

Alex

Received on Friday, 6 December 2002 13:56:34 UTC