diff --git a/src/xercesc/dom/deprecated/DOMParser.cpp b/src/xercesc/dom/deprecated/DOMParser.cpp
index c2da4884aafe304d5844251ee18a0b09a1b634b9..00395c4708c71d9585bc7d896fa7875144c60659 100644
--- a/src/xercesc/dom/deprecated/DOMParser.cpp
+++ b/src/xercesc/dom/deprecated/DOMParser.cpp
@@ -154,7 +154,7 @@ void DOMParser::initialize()
 }
 
 void DOMParser::cleanUp()
-{    
+{
     delete fNodeStack;
     delete fScanner;
     delete fGrammarResolver;
@@ -273,6 +273,11 @@ bool DOMParser::getCalculateSrcOfs() const
     return fScanner->getCalculateSrcOfs();
 }
 
+bool DOMParser::getStandardUriConformant() const
+{
+    return fScanner->getStandardUriConformant();
+}
+
 unsigned int DOMParser::getSrcOffset() const
 {
     return fScanner->getSrcOffset();
@@ -377,6 +382,11 @@ void DOMParser::setCalculateSrcOfs(const bool newState)
     fScanner->setCalculateSrcOfs(newState);
 }
 
+void DOMParser::setStandardUriConformant(const bool newState)
+{
+    fScanner->setStandardUriConformant(newState);
+}
+
 void DOMParser::useScanner(const XMLCh* const scannerName)
 {
     XMLScanner* tempScanner = XMLScannerResolver::resolveScanner(scannerName, fValidator);
diff --git a/src/xercesc/dom/deprecated/DOMParser.hpp b/src/xercesc/dom/deprecated/DOMParser.hpp
index 45a98eed15d4fa375cb70d0679b3d7548dd4f388..ff5738cca3c50d7fae1fbdea55d6c2d570d9d2a4 100644
--- a/src/xercesc/dom/deprecated/DOMParser.hpp
+++ b/src/xercesc/dom/deprecated/DOMParser.hpp
@@ -413,6 +413,18 @@ public :
       */
     bool getCalculateSrcOfs() const;
 
+    /**
+      * Get the 'force standard uri flag'
+      *
+      * This method returns the state if the parser forces standard uri
+      *
+      * @return true, if the parser is currently configured to
+      *         force standard uri, i.e. malformed uri will be rejected.
+      *
+      * @see #setStandardUriConformant
+      */
+    bool getStandardUriConformant() const;
+
     /**
       * Retrieve the grammar that is associated with the specified namespace key
       *
@@ -759,6 +771,18 @@ public :
       */
     void setCalculateSrcOfs(const bool newState);
 
+    /** Force standard uri
+      *
+      * This method allows users to tell the parser to force standard uri conformance.
+      *
+      * The parser's default state is: false.
+      *
+      * @param newState The value specifying whether the parser should reject malformed URI.
+      *
+      * @see #getStandardUriConformant
+      */
+    void setStandardUriConformant(const bool newState);
+
     /** Set the scanner to use when scanning the XML document
       *
       * This method allows users to set the scanner to use
@@ -1659,7 +1683,7 @@ private :
     // -----------------------------------------------------------------------
     void initialize();
     void cleanUp();
-    
+
     // -----------------------------------------------------------------------
     //  Private data members
     //