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=11371>.
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=11371

setAttributeNS allows you to set attributes bound to namespaces that are not defined.

           Summary: setAttributeNS allows you to set attributes bound to
                    namespaces that are not defined.
           Product: Xerces2-J
           Version: 2.0.0
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


element.setAttributeNS("http://www.somebogusuri/bar";, "bar:foo", "a value");

Even if the namespaceURI is not defined, this is accepted.  If the document is 
persisted, you will be unable to load up this document if the parser has 
namespace checking on.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to