xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
Date Wed, 04 Dec 2002 20:38:33 GMT
mkwan       2002/12/04 12:38:32

  Modified:    java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
  Log:
  Performance fix
  
  Reuse the node name in the preceding statement.
  
  Revision  Changes    Path
  1.29      +1 -1      xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm/DOM2DTM.java
  
  Index: DOM2DTM.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm/DOM2DTM.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- DOM2DTM.java	10 Apr 2002 20:33:16 -0000	1.28
  +++ DOM2DTM.java	4 Dec 2002 20:38:32 -0000	1.29
  @@ -1029,7 +1029,7 @@
         {
   	// XSLT treats PIs, and possibly other things, as having QNames.
   	String qname = newnode.getNodeName();
  -	if('#'==newnode.getNodeName().charAt(0))
  +	if('#'==qname.charAt(0))
   	{
   	  //  Match old default for this function
   	  // This conversion may or may not be necessary
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message