You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2005/10/12 15:19:54 UTC

svn commit: r314892 - /xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp

Author: cargilld
Date: Wed Oct 12 06:19:53 2005
New Revision: 314892

URL: http://svn.apache.org/viewcvs?rev=314892&view=rev
Log:
QName fix.  Need to verify that the prefix is defined.

Modified:
    xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp

Modified: xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp?rev=314892&r1=314891&r2=314892&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/ValidationContext.hpp Wed Oct 12 06:19:53 2005
@@ -31,6 +31,7 @@
 class XMLRefInfo;
 class DTDEntityDecl;
 class DatatypeValidator;
+class ElemStack;
 
 class XMLPARSER_EXPORT ValidationContext : public XMemory
 {
@@ -86,6 +87,12 @@
     virtual DatatypeValidator * getValidatingMemberType() const = 0 ;
     virtual void setValidatingMemberType(DatatypeValidator * validatingMemberType) = 0 ;
 
+    /**
+      * QName datatype handling
+      * Create default implementations for source code compatibility
+      */
+    virtual bool isPrefixUnknown(XMLCh* prefix) { return true; };
+    virtual void setElemStack(ElemStack* elemStack) {};
     //@}
 
    



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