Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-501

Creation of comments and PIs needs to detect illegal values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • CurrentCVS
    • CurrentCVS
    • XalanC
    • None

    Description

      The XSLT recommendation places certain limitations on the values of comments and PIs:

      http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions
      http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions

      Xalan-C currently waits until serialization to "fix-up" these values, but that's not the correct place to do it, since we can generate things other than serialized XML. Also, waiting to do this until serialization complicates the serializers needlessly.

      Attachments

        1. test1.xsl
          0.6 kB
          David N Bertoni
        2. test1.xml
          0.2 kB
          David N Bertoni
        3. patch.txt
          11 kB
          David N Bertoni

        Issue Links

          Activity

            People

              dbertoni David N Bertoni
              dbertoni David N Bertoni
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: