cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32342] - Inconsistent Handling on empty element namespace uri
Date Wed, 24 Nov 2004 06:15:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32342>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32342





------- Additional Comments From dean.cording@kaz-group.com  2004-11-24 07:15 -------
In org.apache.xml.dtm.ref.ExpandedNameTable the following method is called 
during the generation of the startElement method call.  It returns null if the 
namespace is a empty string. 

 public String getNamespace(int ExpandedNameID)
  {

    //int id = (ExpandedNameID & MASK_NAMESPACE) >> BITS_PER_LOCALNAME;
    //return (0 == id) ? null : m_namespaceNames.indexToString(id);
    ExtendedType etype = (ExtendedType)m_extendedTypes.elementAt 
(ExpandedNameID);
    return (etype.namespace.equals("") ? null : etype.namespace);
  }

So it would appear that null is the correct response but I haven't worked out 
yet how the empty string gets returned.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Mime
View raw message