Talk:XForms/Validate with schema types

The comments in the schema document appear to be wrong. XSD patterns must match the entire literal value; it is as if they had implicit start-of-string and end-of-string anchors at the beginning and end of the pattern. So the zip type is in fact correct. The zip2 type, by contrast, does not match zip codes but requires a leading caret and a trailing dollar sign.

Does XForms prescribe a different pattern syntax?

--C. M. Sperberg-McQueen, Black Mesa Technologies