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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to