[Bug 21025] New: copying unused namespace declarations

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21025

            Bug ID: 21025
           Summary: copying unused namespace declarations
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 3.0
          Assignee: jim.melton@acm.org
          Reporter: nikolay.ognyanov@gmail.com
        QA Contact: public-qt-comments@w3.org

It seems to me that the draft specs do not provide a way to copy "unused" (i.e.
such that no element in the documet resides in those) namespace declarations
from a processed xml document. There are however important use cases where such
feature is needed. For example xml schema documents often require declaration
of default namespace even though the elements of the schema itself all reside
in the xs: namespace. The namespace axis in combination with computed namespace
constructors would solve this but namespace axix is explicitely not supported.
Am I missing an alternative solution or is the use case truly not supported? If
so then I would advocate strongly for its support since processing of xml
schema documents is hardly an insignificant use case.

Regards
Nikolay

P.S.: For examples of xml schemas where copying of the default namespace is
mandatory you can look e.g. at
http://www.opentravel.org/Specifications/Default.aspx

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 17 February 2013 11:00:45 UTC