venu        2003/11/09 21:49:19

  Modified:    java/src/org/apache/xerces/dom CoreDocumentImpl.java
  Log:
  Format code. Same has been done in previous checkin.
  
  Revision  Changes    Path
  1.54      +9 -9      xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java
  
  Index: CoreDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- CoreDocumentImpl.java     10 Nov 2003 05:45:38 -0000      1.53
  +++ CoreDocumentImpl.java     10 Nov 2003 05:49:18 -0000      1.54
  @@ -873,7 +873,7 @@
        * Renaming node
        */
       public Node renameNode(Node n,String namespaceURI,String name)
  -                                                                             throws 
DOMException{
  +    throws DOMException{
           
           if (n.getOwnerDocument() != this) {
               String msg = DOMMessageFormatter.formatMessage(
  @@ -897,13 +897,13 @@
                               null);
                               throw new DOMException(DOMException.NAMESPACE_ERR, msg);
                           }
  -                                             if (errorChecking && 
!isXMLName(name,xml11Version)) {
  -                                                     String msg = 
DOMMessageFormatter.formatMessage(
  -                                                             
DOMMessageFormatter.DOM_DOMAIN,
  -                                                             
"INVALID_CHARACTER_ERR", null);
  -                                                     throw new 
DOMException(DOMException.INVALID_CHARACTER_ERR,
  -                                                                             msg);
  -                                     }
  +                        if (errorChecking && !isXMLName(name,xml11Version)) {
  +                            String msg = DOMMessageFormatter.formatMessage(
  +                            DOMMessageFormatter.DOM_DOMAIN,
  +                            "INVALID_CHARACTER_ERR", null);
  +                            throw new 
DOMException(DOMException.INVALID_CHARACTER_ERR,
  +                            msg);
  +                        }
                           el.rename(name);
                       }
                       else {
  
  
  

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

Reply via email to