From c3fd73a72f4dafb4332c359a507e15280af6f7d4 Mon Sep 17 00:00:00 2001 From: Alberto Massari <amassari@apache.org> Date: Mon, 10 Aug 2009 14:21:48 +0000 Subject: [PATCH] Deprecate two symbols because of a typo in the name; added a version with the correct spelling git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@802804 13f79535-47bb-0310-9956-ffa450edef68 --- .../validators/schema/SchemaSymbols.cpp | 18 ++++++++++++++++++ .../validators/schema/SchemaSymbols.hpp | 4 ++++ 2 files changed, 22 insertions(+) diff --git a/src/xercesc/validators/schema/SchemaSymbols.cpp b/src/xercesc/validators/schema/SchemaSymbols.cpp index d376e4da0..fdb89da19 100644 --- a/src/xercesc/validators/schema/SchemaSymbols.cpp +++ b/src/xercesc/validators/schema/SchemaSymbols.cpp @@ -53,6 +53,7 @@ const XMLCh SchemaSymbols::fgURI_SCHEMAFORSCHEMA[] = chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chNull }; +// deprecated (typo) const XMLCh SchemaSymbols::fgXSI_SCHEMALOCACTION[] = { chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, @@ -60,6 +61,7 @@ const XMLCh SchemaSymbols::fgXSI_SCHEMALOCACTION[] = chLatin_o, chLatin_n, chNull }; +// deprecated (typo) const XMLCh SchemaSymbols::fgXSI_NONAMESPACESCHEMALOCACTION[] = { chLatin_n, chLatin_o, chLatin_N, chLatin_a, chLatin_m, chLatin_e, @@ -69,6 +71,22 @@ const XMLCh SchemaSymbols::fgXSI_NONAMESPACESCHEMALOCACTION[] = chLatin_n, chNull }; +const XMLCh SchemaSymbols::fgXSI_SCHEMALOCATION[] = +{ + chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, + chLatin_L, chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, + chLatin_o, chLatin_n, chNull +}; + +const XMLCh SchemaSymbols::fgXSI_NONAMESPACESCHEMALOCATION[] = +{ + chLatin_n, chLatin_o, chLatin_N, chLatin_a, chLatin_m, chLatin_e, + chLatin_s, chLatin_p, chLatin_a, chLatin_c, chLatin_e, chLatin_S, + chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chLatin_L, + chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, chLatin_o, + chLatin_n, chNull +}; + const XMLCh SchemaSymbols::fgXSI_TYPE[] = { chLatin_t, chLatin_y, chLatin_p, chLatin_e, chNull diff --git a/src/xercesc/validators/schema/SchemaSymbols.hpp b/src/xercesc/validators/schema/SchemaSymbols.hpp index 85be9321f..d501b765a 100644 --- a/src/xercesc/validators/schema/SchemaSymbols.hpp +++ b/src/xercesc/validators/schema/SchemaSymbols.hpp @@ -38,8 +38,12 @@ public : // ----------------------------------------------------------------------- static const XMLCh fgURI_XSI[]; static const XMLCh fgURI_SCHEMAFORSCHEMA[]; + // deprecated (typo) static const XMLCh fgXSI_SCHEMALOCACTION[]; + // deprecated (typo) static const XMLCh fgXSI_NONAMESPACESCHEMALOCACTION[]; + static const XMLCh fgXSI_SCHEMALOCATION[]; + static const XMLCh fgXSI_NONAMESPACESCHEMALOCATION[]; static const XMLCh fgXSI_TYPE[]; static const XMLCh fgELT_ALL[]; static const XMLCh fgELT_ANNOTATION[]; -- GitLab