Author: amassari
Date: Fri Jul  1 09:25:40 2005
New Revision: 208768

URL: http://svn.apache.org/viewcvs?rev=208768&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/branches/xerces-2.7/src/xercesc/validators/schema/TraverseSchema.cpp

Modified: 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/TraverseSchema.cpp
URL: 
http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/TraverseSchema.cpp?rev=208768&r1=208767&r2=208768&view=diff
==============================================================================
--- 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/TraverseSchema.cpp 
(original)
+++ 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/TraverseSchema.cpp 
Fri Jul  1 09:25:40 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