This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1608 - can namespaces be removed from an environment by undeclaring?
Summary: can namespaces be removed from an environment by undeclaring?
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Jerome Simeon
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 00:01 UTC by Fred Zemke
Modified: 2005-09-06 13:00 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-07-15 00:01:52 UTC
2.1.4 Notations for environments
It says "Also, note that there are no operations to remove 
entries from environments."  What about the XML 1.1 ability
to undeclare a namespace?  Doesn't this require actually
deleting something from an environment?
Comment 1 Jerome Simeon 2005-07-19 23:25:32 UTC
This seems heavyhanded to change the whole environment behavior in order to
cover that one case. One possible way to deal with this issue would be to treat
the case where a namespace prefix is bound to "" in the environment as being
unbound (or use a 'unbound' value in the environment.

- Jerome
Comment 2 Norman Walsh 2005-07-19 23:52:14 UTC
The Formal Semantics document will address this issue along the lines Jerome
outlined below, using either "" or the symbol 'unbound' to deal with this case.

This is the official response of the XML Query WG and XSL WG. 

We appreciate your feedback on the XML Query specifications.  Please let us know
if this response is satisfactory.  If not, please respond to this message,
explaining your concerns.  If so, please mark the comment CLOSED.