<?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: Does Talend support Pattern Restriction Rules in XML Schema? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Does-Talend-support-Pattern-Restriction-Rules-in-XML-Schema/m-p/2338178#M106441</link>
    <description>&lt;P&gt;Hi Steve &lt;/P&gt;&lt;P&gt;Which component are you using this XML schema file? tXSDValidator?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 06:15:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-27T06:15:34Z</dc:date>
    <item>
      <title>Does Talend support Pattern Restriction Rules in XML Schema?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Does-Talend-support-Pattern-Restriction-Rules-in-XML-Schema/m-p/2338177#M106440</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have an XML schema file (.xsd) which for one field is using a "pattern" restriction type.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;lt;xsd:element name="account_number" minOccurs="0"&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:annotation&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:documentation&amp;gt;Account Number&amp;lt;/xsd:documentation&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsd:annotation&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:simpleType&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:restriction base="xsd:string"&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:pattern value="[0-9]{8,9}"/&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsd:maxLength value="9"/&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsd:restriction&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsd:simpleType&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;lt;/xsd:element&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This restriction should restrict the account number field to 8 or 9 numbers.&lt;/P&gt;&lt;P&gt;However, when I import this as an output xml schema into Talend, the "maxlength" restriction works in that it rejects anything over 9 characters, but it does not reject anything less than 8 characters, and it also does not reject anything with letters in either.&lt;/P&gt;&lt;P&gt;Does Talend Studio not support this sort of restirction on XML outpt schema?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Does-Talend-support-Pattern-Restriction-Rules-in-XML-Schema/m-p/2338177#M106440</guid>
      <dc:creator>welshsteve</dc:creator>
      <dc:date>2024-11-15T21:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Does Talend support Pattern Restriction Rules in XML Schema?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Does-Talend-support-Pattern-Restriction-Rules-in-XML-Schema/m-p/2338178#M106441</link>
      <description>&lt;P&gt;Hi Steve &lt;/P&gt;&lt;P&gt;Which component are you using this XML schema file? tXSDValidator?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 06:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Does-Talend-support-Pattern-Restriction-Rules-in-XML-Schema/m-p/2338178#M106441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-27T06:15:34Z</dc:date>
    </item>
  </channel>
</rss>

