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 2001/09/07 20:28:07 UTC

[DO NOT REPLY: Bug 2465] Atributes do not work in Xalan XSLTC using TrAX with Xerces

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2465

*** shadow/2465	Wed Aug 15 09:06:58 2001
--- shadow/2465.tmp.51	Fri Sep  7 11:28:06 2001
***************
*** 67,70 ****
  
  ------- Additional Comments From tamiro@east.sun.com  2001-08-15 09:06 -------
  Further testing shows that this problem only happens if you are using Xerces as 
! your parser. With Crimson, it does NOT happen.
--- 67,86 ----
  
  ------- Additional Comments From tamiro@east.sun.com  2001-08-15 09:06 -------
  Further testing shows that this problem only happens if you are using Xerces as 
! your parser. With Crimson, it does NOT happen.
! 
! ------- Additional Comments From douglasjsellers@hotmail.com  2001-09-07 11:28 -------
! I had a very similar problem to this( see bug #3500 ).  Here is my solution:
! 
! Solution:
! 
! The solution turned out to be that when using a Node if the local name and the node name are the same for an attribute then the local name is null for that attribute.  This was not being accounted for in DOMImpl.  I think that this can be easily fixed with the following patch:
! At line 2824 in DOMImpl replace the code:
!        namebuf.append(localname);
! With
!             if( localname != null )
!                 namebuf.append(localname);
!             else
!                 namebuf.append(qname);
! 
! This fixed all of my problems