You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2005/07/01 18:26:18 UTC

svn commit: r208769 - /xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp

Author: amassari
Date: Fri Jul  1 09:26:17 2005
New Revision: 208769

URL: http://svn.apache.org/viewcvs?rev=208769&view=rev
Log:
Changed the prefix for anonymous types to make it harder for it to clash with a regular declared type, otherwise one of the two will be deleted too early

Modified:
    xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp

Modified: xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp?rev=208769&r1=208768&r2=208769&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.cpp Fri Jul  1 09:26:17 2005
@@ -77,12 +77,12 @@
 // ---------------------------------------------------------------------------
 static const XMLCh fgAnonSNamePrefix[] =
 {
-    chLatin_S, chNull
+    chUnderscore, chUnderscore, chLatin_A, chLatin_n, chLatin_o, chLatin_n, chLatin_S, chNull
 };
 
 static const XMLCh fgAnonCNamePrefix[] =
 {
-    chLatin_C, chNull
+    chUnderscore, chUnderscore, chLatin_A, chLatin_n, chLatin_o, chLatin_n, chLatin_C, chNull
 };
 
 static const XMLCh fgUnbounded[] =



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org