xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tmil...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2TO.java
Date Fri, 23 Aug 2002 17:41:43 GMT
tmiller     2002/08/23 10:41:42

  Modified:    java/src/org/apache/xalan/xsltc/trax DOM2TO.java
  Log:
  fixes conf tests lre02, lre03, lre11, namespace125, namespace126
  
  Revision  Changes    Path
  1.2       +2 -3      xml-xalan/java/src/org/apache/xalan/xsltc/trax/DOM2TO.java
  
  Index: DOM2TO.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/trax/DOM2TO.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DOM2TO.java	12 Aug 2002 19:33:55 -0000	1.1
  +++ DOM2TO.java	23 Aug 2002 17:41:42 -0000	1.2
  @@ -163,7 +163,6 @@
   	    // Generate SAX event to start element
   	    final String qname = node.getNodeName();
   	    _handler.startElement(qname);
  -
   	    String prefix;
   	    final NamedNodeMap map = node.getAttributes();
   	    final int length = map.getLength();
  @@ -184,7 +183,7 @@
   		else {
   		    final String uriAttr = attr.getNamespaceURI();
   		    // Uri may be implicitly declared
  -		    if (uriAttr != null) {	
  +		    if (uriAttr != null && !uriAttr.equals(EMPTYSTRING) ) {	
   			colon = qnameAttr.lastIndexOf(':');
   			prefix = (colon > 0) ? qnameAttr.substring(0, colon) 
   			    : EMPTYSTRING;
  
  
  

---------------------------------------------------------------------
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