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

Implement allowed features for DaffodilXMLReader/DaffodilOutputContentHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • API, SAX
    • None

    Description

      The DaffodilXMLReader reader allows you to set/get the Namespace/Namespace-Prefixes features, but it actually doesn't implement them when passing info to a ContentHandler, as is required  by the documentation. Since the XMLReader is expected to work with any ContentHandler, this can lead to unexpected results. We need to update the XMLReader to send the appropriate stuff to the ContentHandler (which within our implementation is via the SAXInfosetOutputter), and to mimic the behavior expected of it in the XMLReader Documentation. Please refer to the SAX Project namespaces page as well

       

      The table is an excerpt from the SAX Documentation

      Feature ID Access Default Description
      namespaces read/write true A value of "true" indicates namespace URIs and unprefixed local names for element and attribute names will be available.
      namespace-prefixes read/write false A value of "true" indicates that XML qualified names (with prefixes) and attributes (including xmlns* attributes) will be available.

      Attachments

        Activity

          People

            okilo@tresys.com Olabusayo Kilo
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: