Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1204

Unicode U+00B7 character not allowed in namespace prefix

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Cosmetic
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: never
    • Component/s: Front End
    • Labels:
      None

      Description

      Some changes in 0.16.0 have us using the scala ConstructingParser to parse DFDL schemas now.

      A small incompatibility with the prior use of the scala basic XML loader was found.

      Test test_namespaceSpecialChars() moved to scala debug.

      The problem is that the Uncode codepoint U+00B7 is not properly accepted as part of a namespace prefix, so the test fails now.

      This was reported as a bug in the scala library.
      https://issues.scala-lang.org/browse/SI-9060

      The issue that has us switching from basic XML loader to ConstructingParser is unrelated to this small regression It is CDATA region preservation that has us switching parsers. This problem looks like it is getting solved in Scala 2.11.7, which we'll switch to some day, allowing us to go back to the basic scala XML loader - and that would then fix this issue with the Unicode B7 codepoint.

      So I suggest no action to address this bug.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                mbeckerle.dfdl Mike Beckerle
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Tasks