You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/02/04 20:26:50 UTC

cvs commit: xml-xerces/c/doc faq-parse.xml

tng         02/02/04 11:26:50

  Modified:    c/doc    faq-parse.xml
  Log:
  Add FAQ why the parser still try to locate the DTD even the validation is off.
  
  Revision  Changes    Path
  1.41      +9 -5      xml-xerces/c/doc/faq-parse.xml
  
  Index: faq-parse.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/faq-parse.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- faq-parse.xml	4 Feb 2002 19:08:10 -0000	1.40
  +++ faq-parse.xml	4 Feb 2002 19:26:50 -0000	1.41
  @@ -151,13 +151,17 @@
   
     <faq title="Why does my application crash or hang if XMLPlatformUtils::Initialize()/Terminate() pair is called more than once?">
   
  -    <q>Why does my application crash or hang if XMLPlatformUtils::Initialize()/Terminate() pair more than once?</q>
  +    <q>Why does my application crash or hang if XMLPlatformUtils::Initialize()/Terminate() pair is called more than once?</q>
   
       <a>
   
         <p>Please make sure you are using &XercesCName; Version 1.5.2 or up.
         </p>
   
  +      <p>&XercesCName; Version 1.5.1 or below does not allow XMLPlatformUtils::Initialize()/Terminate()
  +         pair to be called more than once.
  +      </p>
  +
       </a>
     </faq>
   
  @@ -172,8 +176,8 @@
            destructed when going out of scope) should be called after XMLPlatformUtils::Terminate().
         </p>
         <p>
  -         Consider the following code snippets which is incorrect (for illustration simplicity the
  -         following sample code is not coded in try/catch clause):
  +         For example consider the following code snippets which is incorrect
  +         (for illustration simplicity the following sample code is not coded in try/catch clause):
         </p>
   
   <source>
  @@ -704,7 +708,7 @@
   
       <a>
   
  -      <p>If the DTD is referenced, the parser will try to read it, because DTDs can
  +      <p>When DTD is referenced, the parser will try to read it, because DTDs can
            provide a lot more information than just validation. It defines entities and
            notations, external uparsed entities, default attributes, character
            entities, etc... So it will always try to read it if present, even if
  @@ -712,7 +716,7 @@
         </p>
   
         <p>To ignore the DTD, the only way to get around this is to install an EntityResolver
  -         (see the Redirect sample for an example of how this is done.), and reset the
  +         (see the Redirect sample for an example of how this is done), and reset the
            DTD file to "".
         </p>
   
  
  
  

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