cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/transformation FragmentExtractorTransformer.java
Date Thu, 13 Sep 2001 20:49:26 GMT
vgritsenko    01/09/13 13:49:26

  Modified:    src/org/apache/cocoon/transformation Tag: cocoon_20_branch
                        FragmentExtractorTransformer.java
  Log:
  Patch from Gregor Fischer [fischer@informatik.uni-wuerzburg.de] for TraxTransformer / FragmentExtractor
- Issue
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.3   +2 -2      xml-cocoon2/src/org/apache/cocoon/transformation/FragmentExtractorTransformer.java
  
  Index: FragmentExtractorTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/transformation/FragmentExtractorTransformer.java,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- FragmentExtractorTransformer.java	2001/08/20 14:07:34	1.3.2.2
  +++ FragmentExtractorTransformer.java	2001/09/13 20:49:26	1.3.2.3
  @@ -42,7 +42,7 @@
    * <a href="http://c2.com/cgi/wiki?YouArentGonnaNeedIt">you aren't gonna need it</a>,
    * so I've just used very simple extraction based on a URI and local name.
    * @author <a href="mailto:paul@luminas.co.uk">Paul Russell</a>
  - * @version CVS $Revision: 1.3.2.2 $ $Date: 2001/08/20 14:07:34 $
  + * @version CVS $Revision: 1.3.2.3 $ $Date: 2001/09/13 20:49:26 $
    */
   public class FragmentExtractorTransformer extends AbstractTransformer
       implements Composable, Disposable, Cacheable, Poolable {
  @@ -163,7 +163,7 @@
        */
       public void startElement(String uri, String loc, String raw, Attributes a)
       throws SAXException {
  -        if ( uri.equals(this.EXTRACT_URI) && loc.equals(this.EXTRACT_ELEMENT) )
{
  +        if ( this.EXTRACT_URI.equals(uri) && this.EXTRACT_ELEMENT.equals(loc) )
{
               extractLevel++;
               imageID++;
               getLogger().debug("FragmentExtractorTransformer extractLevel now " + extractLevel
+ ".");
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message