You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Dirk-Willem van Gulik <di...@covalent.net> on 2000/07/24 18:17:40 UTC

Re: cvs commit: xml-xalan/src/org/apache/xalan/xpath/xdom XercesLiaison.java


On 23 Jul 2000 sboag@locus.apache.org wrote:

> sboag       00/07/23 10:03:42
> 
>   Modified:    src/org/apache/xalan/xpath/xdom XercesLiaison.java
>   Log:
>   Use m_isDefaultUseValidation to control if dynamic validation is on.  Change default for m_useDOM2getNamespaceURI.
>   
>   Revision  Changes    Path
>   1.22      +4 -1      xml-xalan/src/org/apache/xalan/xpath/xdom/XercesLiaison.java
>   
>   Index: XercesLiaison.java
>   ===================================================================
>   RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/xdom/XercesLiaison.java,v
>   retrieving revision 1.21
>   retrieving revision 1.22
>   diff -u -r1.21 -r1.22
>   --- XercesLiaison.java	2000/07/21 14:47:36	1.21
>   +++ XercesLiaison.java	2000/07/23 17:03:42	1.22
>   @@ -241,6 +241,9 @@
>            saxparser.setDTDHandler(m_DTDHandler);
>          }
>        }
>   +    
>   +    if(m_isDefaultUseValidation)
>   +      parser.setFeature("http://apache.org/xml/features/validation/dynamic", true);
>        if(getUseValidation())
>          parser.setFeature("http://xml.org/sax/features/validation", true);
>        else
>   @@ -329,7 +332,7 @@
>        return isIgnorable;
>      }
>      
>   -  private boolean m_useDOM2getNamespaceURI = false;
>   +  protected boolean m_useDOM2getNamespaceURI = true;
>      
>      /**
>       * Set whether or not getNamespaceOfNode should use the Xerces/DOM2
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-cvs-help@xml.apache.org
>