Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2386

Full infoset validation should stream use SAX ValidationHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently, if validation mode is full we write out the entire infoset to a byte array and then validate that at the end of parse. For large infosets, this could require a very large amount of memory.

      Instead, we should create a ValidationHandler and use the new SAXInfosetOutputter to perform validation as we parse. See https://stackoverflow.com/questions/31325770/java-sax-parser-validation

      Also see DAFFODIL-1749

      Attachments

        Activity

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: