Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

User Guide

Disabling the Data-Type Search

Disabling the Data-Type Search

You can disable the data-type search by selecting the
disable_XSD_type_search
property of the
Content
anchor. If you do that, the anchor searches according to the other criteria, without regard to the type of the data holder.
If the result does not have the proper type, it cannot be stored in the data holder and the anchor fails. You can use transformers to convert the result to the proper type and prevent the failure. For more information, see Transformers Overview.
For example, suppose that the source document contains a date in the
dd-mm-yyyy
format, and you want to store the date in an
xs:date
data holder. You can handle this situation in the following way:
  1. Define a
    Content
    anchor that retrieves the
    dd-mm-yyyy
    data, ignoring the mismatch with the
    xs:date
    type.
  2. Configure the anchor with a
    DateFormatICU
    transformer that converts the result to
    xs:date
    .

0 COMMENTS

We’d like to hear from you!