You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/12/02 19:51:36 UTC
DO NOT REPLY [Bug 14999] New: -
Every namespace node must have different generate-id() value
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14999>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14999
Every namespace node must have different generate-id() value
Summary: Every namespace node must have different generate-id()
value
Product: XalanJ2
Version: 2.4
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: David_Marston@lotus.com
Section 5.4 of XPath requires that every element have its own set of namespace
nodes. Thus, the IDs returned from generate-id() must be different for different
elements, even when the namespace nodes are the result of a single namespace
declaration. Apparently, the gold file of idkey31 was placed to quiet the test
framework, but it has repeated values and is therefore wrong. The better
approach is to exclude the test from automated runs.
On the other hand, there probably is no real-world use for this rule with
respect to generate-id().