Apache Jena
  1. Apache Jena
  2. JENA-24

RFD/XML writer can write XML with XML namespace not being "xml"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Jena 2.7.1
    • Component/s: RDF/XML
    • Labels:
      None

      Description

      http://tech.groups.yahoo.com/group/jena-dev/message/46428

      XML writer can write "j.2" for a prefix for the XML namespace : must be "xml".

      "http://www.w3.org/XML/1998/namespace"

        Activity

        Andy Seaborne created issue -
        Damian Steer made changes -
        Field Original Value New Value
        Assignee Damian Steer [ shellac ]
        Hide
        Graham klyne added a comment -

        It seems that submitting a SPARQL CONSTRUCT query that contains an XML namespace prefix declaration to Fuseki can trigger this problem.

        Show
        Graham klyne added a comment - It seems that submitting a SPARQL CONSTRUCT query that contains an XML namespace prefix declaration to Fuseki can trigger this problem.
        Hide
        Damian Steer added a comment - - edited

        Tests for both xml and xmlns cases committed, plus a fix.

        Once outstanding case I need to think about is binding the prefixes to the wrong namespaces (e.g. 'xml' => 'http://example.com/'). Are we doing the right thing here?

        Show
        Damian Steer added a comment - - edited Tests for both xml and xmlns cases committed, plus a fix. Once outstanding case I need to think about is binding the prefixes to the wrong namespaces (e.g. 'xml' => 'http://example.com/'). Are we doing the right thing here?
        Damian Steer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s Jena 2.7.1 [ 12319056 ]
        Resolution Fixed [ 1 ]
        Hide
        Andy Seaborne added a comment -

        Can we close this (for now)? I like closing JIRA!

        [[Meta:
        My personal preference is quick-to-close because we don't have a formal "Resolved"testers confirm"Close" cycle as we are our own testers by and large.
        ]]

        Show
        Andy Seaborne added a comment - Can we close this (for now)? I like closing JIRA! [[Meta: My personal preference is quick-to-close because we don't have a formal "Resolved" testers confirm "Close" cycle as we are our own testers by and large. ]]
        Hide
        Damian Steer added a comment -

        Closing!

        I tend to hold off post-resolution just in case someone want to pipe up.

        Show
        Damian Steer added a comment - Closing! I tend to hold off post-resolution just in case someone want to pipe up.
        Damian Steer made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Damian Steer
            Reporter:
            Andy Seaborne
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development