Lists Home |
Date Index |
1) minLength-only is interesting. Most of the use cases I'm running into
have data going into database fields with strict length limitations, but
still a good thought.
2) examplotron itself has eg:define/eg:content, which I probably will be
looking at fairly soon. FWIW, the current implementation spits out only
a single XML Schema simpleType no matter how many times the same
datatype value (either enumerated or limited-length) is used.
3) In general, anything where the system tries to make a best guess is
subject to overriding. The trick is to do it without re-creating all of
Jeff Rafter wrote:
> Good work Micah, but I am immediately left with some detail questions:
> (1) Inability to specify minLength only. Would it be possible to add a
> construct for this by doing something like: "dt:dtname-88-unbounded".
> Adding unbounded would indicate no maxLength. This is probably not the
> solution but it feels as though something is needed here.
> (2) Is it possible to reuse enum values? I didn't see a mechanism to
> to an arbitrary datatype-- so I must assume that the only way to
> specify an
> enumeration is through the
> dt:enum-value1-value2 facility. These leaves a lot to be desired--
> especially when you have a form with multiple state/language/country
> enumerations. If instead there were a way to name the enumeration and
> back to that enumeration you could maintain the declaration in one
> place. Of
> course this would be easy to do with DTD entities as well : )
> (3) In future versions do you plan any way to override the
> textarea/maxLength functionality? So that you can create textareas for
> with no maxLength?
> All the best,
> Jeff Rafter
Available for consulting. XForms, web forms, information overload.
Micah Dubinko mailto:email@example.com
Brain Attic, L.L.C. http://brainattic.info
Yahoo IM: mdubinko
Learn XForms today: http://xformsinstitute.com