tng         2002/11/12 09:27:12

  Modified:    c/src/xercesc/util/MsgLoaders/MsgCatalog
                        MsgCatalogLoader.cpp XMLMsgCat_EN_US.Msg
                        XMLMsgCat_Ids.hpp
  Log:
  DOM Message: add new domain for DOM Messages.
  
  Revision  Changes    Path
  1.7       +6 -0      
xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.cpp
  
  Index: MsgCatalogLoader.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MsgCatalogLoader.cpp      5 Nov 2002 16:54:46 -0000       1.6
  +++ MsgCatalogLoader.cpp      12 Nov 2002 17:27:12 -0000      1.7
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.7  2002/11/12 17:27:12  tng
  + * DOM Message: add new domain for DOM Messages.
  + *
    * Revision 1.6  2002/11/05 16:54:46  peiyongz
    * Using XERCESC_NLS_HOME
    *
  @@ -131,6 +134,7 @@
   {
       if (!XMLString::equals(msgDomain, XMLUni::fgXMLErrDomain)
       &&  !XMLString::equals(msgDomain, XMLUni::fgExceptDomain)
  +    &&  !XMLString::equals(msgDomain, XMLUni::fgXMLDOMMsgDomain)
       &&  !XMLString::equals(msgDomain, XMLUni::fgValidityDomain))
       {
           XMLPlatformUtils::panic(XMLPlatformUtils::Panic_UnknownMsgDomain);
  @@ -166,6 +170,8 @@
           fMsgSet = CatId_XMLExcepts;
       else if (XMLString::equals(msgDomain, XMLUni::fgValidityDomain))
           fMsgSet = CatId_XMLValid;
  +    else if (XMLString::equals(msgDomain, XMLUni::fgXMLDOMMsgDomain))
  +        fMsgSet = CatId_XMLDOMMsg;
   }
   
   MsgCatalogLoader::~MsgCatalogLoader()
  
  
  
  1.13      +21 -0     
xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/XMLMsgCat_EN_US.Msg
  
  Index: XMLMsgCat_EN_US.Msg
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/XMLMsgCat_EN_US.Msg,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XMLMsgCat_EN_US.Msg       8 Nov 2002 17:06:04 -0000       1.12
  +++ XMLMsgCat_EN_US.Msg       12 Nov 2002 17:27:12 -0000      1.13
  @@ -752,3 +752,24 @@
   356  NodeIDMap overflows and exceeds the largest available size
   
   
  +$set 4
  +2  The index or size is negative, or greater than the allowed value
  +3  The specified range of text does not fit into the String
  +4  An attempt was made to insert a node where it is not permitted
  +5  A node is used in a different document than the one that created it
  +6  An invalid or illegal XML character is specified
  +7  Data is specified for a node which does not support data
  +8  An attempt is made to modify an object where modifications are not allowed
  +9  An attempt is made to reference a node in a context where it does not exist
  +10  The implementation does not support the requested type of object or operation
  +11  An attempt is made to add an attribute that is already in use elsewhere
  +12  A parameter or an operation is not supported by the underlying object
  +13  An invalid or illegal string is specified
  +14  An attempt is made to modify the type of the underlying object
  +15  An attempt is made to create or change an object in a way which is incorrect 
with regard to namespaces
  +16  An attempt is made to use an object that is not, or is no longer, usable
  +17  A call to a method such as insertBefore or removeChild would make the Node 
invalid with respect to document grammar
  +18  The container of a boundary-point of a Range is being set to either a node of 
an invalid type or a node with an ancestor of an invalid type
  +19  The boundary-points of a Range do not meet specific requirements
  +
  +
  
  
  
  1.3       +1 -0      
xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/XMLMsgCat_Ids.hpp
  
  Index: XMLMsgCat_Ids.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/MsgLoaders/MsgCatalog/XMLMsgCat_Ids.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XMLMsgCat_Ids.hpp 4 Nov 2002 15:10:41 -0000       1.2
  +++ XMLMsgCat_Ids.hpp 12 Nov 2002 17:27:12 -0000      1.3
  @@ -10,6 +10,7 @@
   const unsigned int CatId_XMLErrs = 1;
   const unsigned int CatId_XMLValid = 2;
   const unsigned int CatId_XMLExcepts = 3;
  +const unsigned int CatId_XMLDOMMsg = 4;
   
   XERCES_CPP_NAMESPACE_END
   
  
  
  

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

Reply via email to