You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2002/03/05 11:25:39 UTC

cvs commit: xml-fop/src/org/apache/fop/fo/flow InstreamForeignObject.java

keiron      02/03/05 02:25:39

  Modified:    src/org/apache/fop/fo XMLObj.java
               src/org/apache/fop/fo/flow InstreamForeignObject.java
  Log:
  gets namespace of document through different call so conversion is possible
  
  Revision  Changes    Path
  1.9       +6 -2      xml-fop/src/org/apache/fop/fo/XMLObj.java
  
  Index: XMLObj.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/XMLObj.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLObj.java	26 Feb 2002 12:43:09 -0000	1.8
  +++ XMLObj.java	5 Mar 2002 10:25:39 -0000	1.9
  @@ -1,5 +1,5 @@
   /*
  - * $Id: XMLObj.java,v 1.8 2002/02/26 12:43:09 keiron Exp $
  + * $Id: XMLObj.java,v 1.9 2002/03/05 10:25:39 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -53,7 +53,7 @@
       }
   
       public Document getDocument() {
  -         return doc;
  +        return doc;
       }
   
       public Point2D getDimension(Point2D view) {
  @@ -61,6 +61,10 @@
       }
   
       public abstract String getNameSpace();
  +
  +    public String getDocumentNamespace() {
  +        return getNameSpace();
  +    }
   
       protected static HashMap ns = new HashMap();
       static {
  
  
  
  1.22      +2 -2      xml-fop/src/org/apache/fop/fo/flow/InstreamForeignObject.java
  
  Index: InstreamForeignObject.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/InstreamForeignObject.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- InstreamForeignObject.java	26 Feb 2002 12:43:09 -0000	1.21
  +++ InstreamForeignObject.java	5 Mar 2002 10:25:39 -0000	1.22
  @@ -1,5 +1,5 @@
   /*
  - * $Id: InstreamForeignObject.java,v 1.21 2002/02/26 12:43:09 keiron Exp $
  + * $Id: InstreamForeignObject.java,v 1.22 2002/03/05 10:25:39 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -127,7 +127,7 @@
           Point2D size = child.getDimension(new Point2D.Float(-1, -1));
   
           Document doc = child.getDocument();
  -        String ns = child.getNameSpace();
  +        String ns = child.getDocumentNamespace();
   
           children = null;
           ForeignObject foreign = new ForeignObject(doc, ns);
  
  
  

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