You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/03/14 17:08:23 UTC

cvs commit: xml-xalan/test/tests/conf-gold/attribset attribset24.out

sboag       01/03/14 08:08:21

  Modified:    test/tests/conf-gold/attribset attribset24.out
  Log:
  The previous gold for attribset24 re-prefixed the attributes when a valid prefix can
  be created from the name attribute.  Given the philosophy that
  xsl:attribute and xsl:element should not change the prefix given in the
  name attribute unless it absolutely has to, I think it is better for the
  processor to use the prefixes given in the name attribute.
  
  So the gold has changed to keep the original prefixes.  Why should the prefixes be changed if
  you don't have to??  In both output cases, the resolved name of the node is
  the same.
  
  I sent a message about this on the Xalan list,
  but nobody commented, so I assume they agree.  Since this is breaking the
  Smoketest for Xalan, I'm going to go
  ahead and make the change.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xalan/test/tests/conf-gold/attribset/attribset24.out
  
  Index: attribset24.out
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf-gold/attribset/attribset24.out,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribset24.out	2000/12/17 21:47:54	1.1
  +++ attribset24.out	2001/03/14 16:08:16	1.2
  @@ -1,4 +1,4 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <root xmlns:bdd="http://bdd.test.com" xmlns:ped="http://ped.test.com">
  -<Out ped:Attr1="YoBaby" ped:Attr2="jaminben"/>
  +<Out xmlns:xyz="http://ped.test.com" xyz:Attr1="YoBaby" bdd:Attr2="jaminben"/>
   </root>
  
  
  

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