Zephyr doesn't detect double namespace declarations (wellformedness error)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: beta
    • Component/s: xml
    • b81
    • generic
    • generic

      Zephyr doesn't report an error on a malformed XML document like:

        <foo xmlns:xml='http://www.w3.org/XML/1998/namespace&#39; xmlns:xml='http://www.w3.org/XML/1998/namespace&#39; />

      (Notice the double declaration of xmlns:xml)

      I added a JUnit test case in $ZEPHYR/test/XMLStreamReader/DoubleXmlnsTest for your reference.

      I'm filing this bug because it's desirable for the JAXP team to fix this, but it's not blocking us.

            Assignee:
            Sunitha Reddy (Inactive)
            Reporter:
            Kohsuke Kawaguchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: