[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANN: Examploforms 0.1


textarea maxlength
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 
XForms :)

Thanks,

.micah

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 
> best
> 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 
> refer
> 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 
> refer
> 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 
> items
> with no maxLength?
>
> All the best,
> Jeff Rafter

-- 
  Available for consulting. XForms, web forms, information overload.
  Micah Dubinko                           mailto:micah@d...
  Brain Attic, L.L.C.                        http://brainattic.info
  Yahoo IM: mdubinko
  Learn XForms today: http://xformsinstitute.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.