• Stephen W. Thomas
  • Azure Integration Gurus
BizTalkGurus
  • Home
  • Blogs
    • Stephen’s BizTalk and Integration Blog
    • BizTalk Community Blogs via Syndication
  • Forums
  • Downloads
  • Videos
  • Training
    • Online Training
    • Classroom Training
Select Page

Re: how to define Required Field in Flat File Schema?

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › how to define Required Field in Flat File Schema? › Re: how to define Required Field in Flat File Schema?

November 7, 2006 at 2:05 AM #16339
community-content

    The minOccurs attribute only checks for the existence of the node, not the content.

    To create a constraint against the node content you need to derive your own types

    e.g.
    <element name="EmailAddress type="non-empty-string"/>
    <simpleType name='non-empty-string'>
      <restriction base='string'>
        <minLength value='1'/>
      </restriction>
    </simpleType>


    Search this Site:


    Recent Posts

    • Logic App Consumption deployment: The secret of KeyVault parameter cannot be retrieved. Http status code: ‘Forbidden’. Error message: ‘Access denied to first party service
    • BizTalk Server Visual Studio project: attempted re-targeting of the project has been canceled.
    • BizTalk Oracle Adapter error: The assembly required for type mapping not found.
    • PowerShell script to identify all SQL V1 actions and triggers inside Logic Apps Consumption
    • Friday (funny) Fact: There is no size limit for the Logic App parameter name

    Tweets by AzureIntGurus

    Recent Topics

    • Evaluating on the amount of items returned in a message
    • Send and Receive ports problem
    • How to config/costom a WS Security to SOAP header
    • Email attachments – POP3 adapter
    • Calling ASP page from Biztalk Orchestration

    • Home
    • Blogs
    • Forums
    • Downloads
    • Videos
    • Training
    • Facebook
    • X
    • RSS
    @BizTalkgurus.com