msmith      01/06/21 21:24:02

  Modified:    src/share/org/apache/slide/common XMLUnmarshaller.java
  Log:
  Allow setting of namespace on properties defined in Domain.xml, through the
  namespace property.
  
  Revision  Changes    Path
  1.14      +8 -5      
jakarta-slide/src/share/org/apache/slide/common/XMLUnmarshaller.java
  
  Index: XMLUnmarshaller.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/XMLUnmarshaller.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XMLUnmarshaller.java      2001/05/16 12:03:48     1.13
  +++ XMLUnmarshaller.java      2001/06/22 04:23:58     1.14
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/XMLUnmarshaller.java,v 1.13 
2001/05/16 12:03:48 juergen Exp $
  - * $Revision: 1.13 $
  - * $Date: 2001/05/16 12:03:48 $
  + * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/XMLUnmarshaller.java,v 1.14 
2001/06/22 04:23:58 msmith Exp $
  + * $Revision: 1.14 $
  + * $Date: 2001/06/22 04:23:58 $
    *
    * ====================================================================
    *
  @@ -82,7 +82,7 @@
    * XMLUnmarshaller class.
    * 
    * @author <a href="mailto:[EMAIL PROTECTED]";>Remy Maucherat</a>
  - * @version $Revision: 1.13 $
  + * @version $Revision: 1.14 $
    */
   public final class XMLUnmarshaller {
       
  @@ -309,7 +309,10 @@
                   (Configuration) propertyDefinitions.nextElement();
               String propertyName = propertyDefinition.getAttribute("name");
               String propertyValue = propertyDefinition.getValue();
  -            revisionDescriptor.setProperty(propertyName, propertyValue);
  +            String propertyNamespace = propertyDefinition.getAttribute
  +                ("namespace", NodeProperty.DEFAULT_NAMESPACE);
  +            revisionDescriptor.setProperty(propertyName, propertyNamespace,
  +                propertyValue);
           }
           
           NodeRevisionContent revisionContent = null;
  
  
  

Reply via email to