jefft       01/11/11 15:12:55

  Modified:    src/test/org/apache/avalon/framework/configuration/test
                        SAXConfigurationHandlerTestCase.java
  Log:
  Correct the order, to:
  
  startPrefixMapping(..)
  startElement(..)
  endElement(..)
  endPrefixMapping(..)
  
  See http://sax.sourceforge.net/?selected=namespaces
  
  Revision  Changes    Path
  1.5       +2 -2      
jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test/SAXConfigurationHandlerTestCase.java
  
  Index: SAXConfigurationHandlerTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test/SAXConfigurationHandlerTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SAXConfigurationHandlerTestCase.java      2001/10/29 16:16:28     1.4
  +++ SAXConfigurationHandlerTestCase.java      2001/11/11 23:12:55     1.5
  @@ -73,8 +73,8 @@
           childAttributes.addAttribute("", "child", "xmlns:child", "CDATA", 
childURI);
   
           m_handler.startDocument();
  -        m_handler.startElement( rootURI, rootlocal, rootraw, attributes );
           m_handler.startPrefixMapping( "child", childURI );
  +        m_handler.startElement( rootURI, rootlocal, rootraw, attributes );
           m_handler.startElement( childURI,
                                   childlocal,
                                   childraw,
  @@ -82,8 +82,8 @@
   
           m_handler.characters( childvalue.toCharArray(), 0, 
childvalue.length() );
           m_handler.endElement( childURI, childlocal, childraw );
  -        m_handler.endPrefixMapping( "child" );
           m_handler.endElement( null, null, rootraw);
  +        m_handler.endPrefixMapping( "child" );
           m_handler.endDocument();
   
           final Configuration configuration = m_handler.getConfiguration();
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to