~gagern/xalan/bugfixes

Viewing all changes in revision 4469.

  • Committer: zongaro
  • Date: 2008-06-19 02:39:52 UTC
  • Revision ID: svn-v4:13f79535-47bb-0310-9956-ffa450edef68:xalan/java/trunk:669372
Part of fix for Jira issue XALANJ-2446:

The implementation of getQName(String,String,String) method was ensuring
that any particular pair of namespace URI and local part of the name would
result in a unique QName object.  It did not take into account the prefix,
despite the fact that the original prefix might be associated with a different
namespace URI in this new context or with no namespace at all.

Fixed this by making getQName take into account all three of the namespace URI,
local part of the name and prefix in order to create unique QName objects.

Reviewed by Christine Li (jycli () ca ! ibm ! com)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: