Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6389307

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • beta
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: