peiyongz    2003/03/10 21:01:58

  Modified:    c/doc    program-others.xml faq-distrib.xml faq-build.xml
  Log:
  Message Loader related documentation update
  
  Revision  Changes    Path
  1.14      +28 -0     xml-xerces/c/doc/program-others.xml
  
  Index: program-others.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/program-others.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- program-others.xml        25 Feb 2003 16:25:25 -0000      1.13
  +++ program-others.xml        11 Mar 2003 05:01:58 -0000      1.14
  @@ -539,6 +539,34 @@
   ..
   </source>
   
  +
  +    <anchor name="SpecifyLocationForMessageLoader"/>
  +    <s2 title="Specify location for message loader">
  +
  +        <p>The &XercesCName; searches for message files at the default message 
directory, $XERCESCROOT/msg.
  +        </p>
  +
  +        <p>Application can specify an alternative location for the message files in 
their
  +        very first invocation to XMLPlatformUtils::Initialize() by supplying
  +        a parameter for the alternative location intended.
  +        </p>
  +    </s2>
  +
  +<source>
  +
  +...
  +    // Initialize the parser system
  +    try
  +    {
  +         XMLPlatformUtils::Initialize("en_US", "/usr/application_root/msg_home");
  +    }
  +
  +    catch ()
  +    {
  +    }
  +..
  +</source>
  +
   <anchor name="UseSpecificScanner"/>
       <s2 title="Use Specific Scanner">
   
  
  
  
  1.33      +4 -1      xml-xerces/c/doc/faq-distrib.xml
  
  Index: faq-distrib.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/faq-distrib.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- faq-distrib.xml   25 Feb 2003 16:24:29 -0000      1.32
  +++ faq-distrib.xml   11 Mar 2003 05:01:58 -0000      1.33
  @@ -150,7 +150,10 @@
                       libicudt*.sl for HP-UX.</li>
   
                   <li><em>The &XercesCName; Message file:</em><br></br>
  -                    XercesMessages_en_US.res.</li>
  +                    XercesMessages*.dll for Windows NT/2000, or<br></br>
  +                    libXercesMessages*.a for AIX, or<br></br>
  +                    libXercesMessages*.so for Solaris/Linux, or<br></br>
  +                    libXercesMessages*.sl for HP-UX.</li>
   
               </ol>
           </a>
  
  
  
  1.16      +13 -3     xml-xerces/c/doc/faq-build.xml
  
  Index: faq-build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/faq-build.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- faq-build.xml     21 Feb 2003 09:14:02 -0000      1.15
  +++ faq-build.xml     11 Mar 2003 05:01:58 -0000      1.16
  @@ -378,10 +378,20 @@
     <faq title="Cannot load message domain, Xerces Panic Error">
       <q>"Cannot load message domain, Xerces Panic Error"?</q>
       <a>
  -      <p>If the parser is built with icu message loader (like IBM XML4C binaries), 
or message
  -         catalog loader, you need an environment variable, XERCESC_NLS_HOME to 
point to
  -         the directory, $XERCESCROOT/msg, where the message files reside.
  +      <p>If the parser is built with icu message loader (like IBM XML4C binaries), 
  +         you need to make sure that the message library, (for exact name
  +         see <jump href="faq-distrib.html#faq-3">FAQ: Which DLL's do I need to 
distribute with my application?</jump>)
  +         is located in a directory which is on the library search path.
  +         Or the message resource file, XercesMessages_en_US.res, is in the 
directory given at the call to        
  +         XMLPlatformUtils::Initialize(), or is located in the directory pointed to 
by the environment variable 
  +         XERCESC_NLS_HOME, or at $XERCESCROOT/msg.
         </p>
  +      <p>If the parser is built with message catalog loader, you need to make sure 
that the message
  +         catalog file, XercesMessages_en_US.cat, is in the directory given at the 
call to XMLPlatformUtils::Initialize(),
  +         or is located in the directory pointed to by the environment variable 
XERCESC_NLS_HOME, or  
  +         at $XERCESCROOT/msg.
  +      </p>      
  +
       </a>
     </faq>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to