<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I set maxLength of a string on an xforms template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71706#M46467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'll take a look at this - but the xforms processor should be validating the user entered string length against the schema and reporting it invalid if it's not valid.&amp;nbsp; are you looking for more of a ui side change?&amp;nbsp; do you want the textfield itself to be x chars long - because that's not implemented yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 18:45:40 GMT</pubDate>
    <dc:creator>arielb</dc:creator>
    <dc:date>2007-02-21T18:45:40Z</dc:date>
    <item>
      <title>How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71705#M46466</link>
      <description>Simple question: how do I set a limit on the lenth of an input string?I found an example somewhere that showed how to use an xs:restriction but this does not appear to work:&amp;lt;xs:simpleType name="string25"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:restriction base="xs:normalizedString"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:maxLength value="25"/</description>
      <pubDate>Tue, 20 Feb 2007 23:21:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71705#M46466</guid>
      <dc:creator>harrymoore</dc:creator>
      <dc:date>2007-02-20T23:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71706#M46467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'll take a look at this - but the xforms processor should be validating the user entered string length against the schema and reporting it invalid if it's not valid.&amp;nbsp; are you looking for more of a ui side change?&amp;nbsp; do you want the textfield itself to be x chars long - because that's not implemented yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:45:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71706#M46467</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-02-21T18:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71707#M46468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i don't really care, yet, about the size of the field on the form but i'm deploying the value to a database field VARCHAR(25) so I want to limit the input size of the field to 25 chars. How do I do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 19:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71707#M46468</guid>
      <dc:creator>harrymoore</dc:creator>
      <dc:date>2007-02-21T19:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71708#M46469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmmm…. it looks like my xforms processor is not validating schema simple types rigorously.&amp;nbsp; i'll see if there's a switch that needs turning on - but it's possible that all these restrictions need to be turned into xforms constraints in order to get this to work which would be rather annoying.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 20:07:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71708#M46469</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-02-21T20:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71709#M46470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So am I doing the right thing by "subclassing" the xs:normalizedString this way? Is this a best practice? I'm having trouble finding good docs/tutorials on xsd, xforms to know. I just stumbled upon this solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 20:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71709#M46470</guid>
      <dc:creator>harrymoore</dc:creator>
      <dc:date>2007-02-21T20:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set maxLength of a string on an xforms template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71710#M46471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;maxLength or length restrictions are the way to go.&amp;nbsp; in the next version these restrictions will be enforced by textfields at a minimum - and hopefully by the xforms processor if i can figure out how to get it to properly validate schema types consistently.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 00:48:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-set-maxlength-of-a-string-on-an-xforms-template/m-p/71710#M46471</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-02-22T00:48:39Z</dc:date>
    </item>
  </channel>
</rss>

