tng 2002/11/12 09:24:58
Modified: c/tools/NLS/Xlat Xlat.cpp Xlat_CppSrc.cpp Xlat_Win32RC.cpp
Log:
DOM Message: add new domain for DOM Messages.
Revision Changes Path
1.15 +8 -0 xml-xerces/c/tools/NLS/Xlat/Xlat.cpp
Index: Xlat.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Xlat.cpp 4 Nov 2002 15:24:50 -0000 1.14
+++ Xlat.cpp 12 Nov 2002 17:24:58 -0000 1.15
@@ -57,6 +57,9 @@
/*
* $Log$
+ * Revision 1.15 2002/11/12 17:24:58 tng
+ * DOM Message: add new domain for DOM Messages.
+ *
* Revision 1.14 2002/11/04 15:24:50 tng
* C++ Namespace Support.
*
@@ -547,6 +550,11 @@
{
headerName = L"XMLExceptMsgs.hpp";
errNameSpace = L"XMLExcepts";
+ }
+ else if (!XMLString::compareString(domainStr,
XMLUni::fgXMLDOMMsgDomain))
+ {
+ headerName = L"XMLDOMMsg.hpp";
+ errNameSpace = L"XMLDOMMsg";
}
else
{
1.7 +7 -0 xml-xerces/c/tools/NLS/Xlat/Xlat_CppSrc.cpp
Index: Xlat_CppSrc.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat_CppSrc.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Xlat_CppSrc.cpp 4 Nov 2002 15:24:50 -0000 1.6
+++ Xlat_CppSrc.cpp 12 Nov 2002 17:24:58 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/11/12 17:24:58 tng
+ * DOM Message: add new domain for DOM Messages.
+ *
* Revision 1.6 2002/11/04 15:24:50 tng
* C++ Namespace Support.
*
@@ -193,6 +196,10 @@
else if (!XMLString::compareString(XMLUni::fgValidityDomain, domainName))
{
fCurDomainName = L"gXMLValidityArray";
+ }
+ else if (!XMLString::compareString(XMLUni::fgXMLDOMMsgDomain, domainName))
+ {
+ fCurDomainName = L"gXMLDOMMsgArray";
}
else
{
1.5 +22 -12 xml-xerces/c/tools/NLS/Xlat/Xlat_Win32RC.cpp
Index: Xlat_Win32RC.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat_Win32RC.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Xlat_Win32RC.cpp 2 Mar 2000 19:55:54 -0000 1.4
+++ Xlat_Win32RC.cpp 12 Nov 2002 17:24:58 -0000 1.5
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/12 17:24:58 tng
+ * DOM Message: add new domain for DOM Messages.
+ *
* Revision 1.4 2000/03/02 19:55:54 roddey
* This checkin includes many changes done while waiting for the
* 1.1.0 code to be finished. I can't list them all here, but a list is
@@ -166,6 +169,11 @@
{
fCurDomainName = L"gXMLValidityArray";
fMsgOffset = 0x4000;
+ }
+ else if (!XMLString::compareString(XMLUni::fgXMLDOMMsgDomain, domainName))
+ {
+ fCurDomainName = L"gXMLDOMMsgArray";
+ fMsgOffset = 0x6000;
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]