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/05 19:06:13 UTC

cvs commit: xml-xerces/c/doc migration.xml migration_archive.xml

tng         02/02/05 10:06:13

  Modified:    c/doc    migration.xml migration_archive.xml
  Log:
  New Migration Guide template for latest code base.
  
  Revision  Changes    Path
  1.14      +15 -54    xml-xerces/c/doc/migration.xml
  
  Index: migration.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/migration.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- migration.xml	6 Dec 2001 18:00:19 -0000	1.13
  +++ migration.xml	5 Feb 2002 18:06:13 -0000	1.14
  @@ -2,93 +2,54 @@
   <!DOCTYPE s1 SYSTEM "./dtd/document.dtd">
   
   <s1 title="Migration">
  -    <s2 title="Migrating from &XercesCName; &XercesCVersion152; to &XercesCName; &XercesCVersion;">
  +    <s2 title="Migrating from &XercesCName; &XercesCVersion; to &XercesCName; latest code base">
         <p>This document is a discussion of the technical differences between
  -      &XercesCName; &XercesCVersion152; code base and the &XercesCName; &XercesCVersion; code base.</p>
  +      &XercesCName; &XercesCVersion; code base and the &XercesCName; latest code base.</p>
   
         <p>Topics discussed are:</p>
         <ul>
  -        <li><link anchor="NewFeatures">New features in &XercesCName; &XercesCVersion;</link></li>
  -        <li><link anchor="API">Public API Changes in &XercesCName; &XercesCVersion;</link></li>
  +        <li><link anchor="NewFeatures">New features in &XercesCName; latest code base</link></li>
  +        <li><link anchor="API">Public API Changes in &XercesCName; latest code base</link></li>
           <ul>
               <li><link anchor="NewAPI">New Public API</link></li>
  -            <li><link anchor="ModifiedAPI">Public API Modified</link></li>
  +            <li><link anchor="ModifiedAPI">Modified Public API</link></li>
               <li><link anchor="DeprecatedAPI">Deprecated Public API</link></li>
           </ul>
         </ul>
       </s2>
   
       <anchor name="NewFeatures"/>
  -    <s2 title="New features in &XercesCName; &XercesCVersion;">
  +    <s2 title="New features in &XercesCName; latest code base">
         <ul>
  -        <li>Full Schema support is available in this release.
  -            See <jump href="schema.html">the Schema page</jump> for details.</li>
  -        <li>New sample SEnumVal to show how to enumerate the markup decls in a Schema Grammar is added.</li>
  +        <li></li>
         </ul>
       </s2>
   
       <anchor name="API"/>
  -    <s2 title="Public API Changes in &XercesCName; &XercesCVersion;">
  +    <s2 title="Public API Changes in &XercesCName; latest code base">
   
           <p>The following lists the public API changes between the &XercesCName;
  -           &XercesCVersion152; and the &XercesCName; &XercesCVersion; releases
  +           &XercesCVersion; and the &XercesCName; latest code base releases
              of the parser. </p>
   
           <anchor name="NewAPI"/>
           <s3 title="New Public API">
               <ul>
  -              <li>It should not be a fatal error if a schema InputSource is not found.
  -                  Add the following new methods:</li>
  -                <ul>
  -                   <li>const bool InputSource::getIssueFatalErrorIfNotFound() const</li>
  -                   <li>void InputSource::setIssueFatalErrorIfNotFound(const bool flag</li>
  -                </ul>
  -              <li>Allow code to take advantage of the fact that the length of the prefix and
  -                  local name are known when constructing the QName.
  -                  Add the following new methods:</li>
  -                <ul>
  -                   <li>void QName::setNPrefix(const XMLCh*, const unsigned int)</li>
  -                   <li>void QName::setNLocalPart(const XMLCh*, const unsigned int)</li>
  -                </ul>
  -              <li>To support schemaLocation and noNamespaceSchemaLocation to be specified outside the
  -                  instance document, the following new methods are added:</li>
  -              <ul>
  -                <li>XMLCh* DOMParser::getExternalSchemaLocation() const</li>
  -                <li>XMLCh* DOMParser::getExternalNoNamespaceSchemaLocation() const</li>
  -                <li>void DOMParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  -                <li>void DOMParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  -                <li>XMLCh* IDOMParser::getExternalSchemaLocation() const</li>
  -                <li>XMLCh* IDOMParser::getExternalNoNamespaceSchemaLocation() const</li>
  -                <li>void IDOMParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  -                <li>void IDOMParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  -                <li>XMLCh* SAXParser::getExternalSchemaLocation() const</li>
  -                <li>XMLCh* SAXParser::getExternalNoNamespaceSchemaLocation() const</li>
  -                <li>void SAXParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  -                <li>void SAXParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  -                <li>and the following properties are recognized by SAX2XMLReader:</li>
  -                <ul>
  -                   <li>http://apache.org/xml/properties/schema/external-schemaLocation</li>
  -                   <li>http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation</li>
  -                </ul>
  -              </ul>
  -              <li>To support identity constraints, the following new method is added:</li>
  -              <ul>
  -                <li>QName* XMLAttr::getAttName() const</li>
  -              </ul>
  +              <li></li>
               </ul>
           </s3>
   
           <anchor name="ModifiedAPI"/>
  -        <s3 title="Pulic API Modified">
  +        <s3 title="Modified Public API">
               <ul>
  -              <li>To support attribute constraint checking, the constant values in XMLAttDef::DefAttTypes have been re-ordered.</li>
  +              <li></li>
               </ul>
           </s3>
   
           <anchor name="DeprecatedAPI"/>
  -        <s3 title="Deprecated Pulic API">
  +        <s3 title="Deprecated Public API">
               <ul>
  -              <li>Root Element check is moved from XMLValidator to XMLScanner.  Thus XMLValidator::checkRootElement() is deprecated.</li>
  +              <li></li>
               </ul>
           </s3>
   
  @@ -96,7 +57,7 @@
   
       <s2 title="Migration Archive">
   
  -       <p>For migration information to &XercesCName; &XercesCVersion152; or earlier,
  +       <p>For migration information to &XercesCName; &XercesCVersion; or earlier,
             please refer to <jump href="migrate_archive.html">Migration Archive. </jump></p>
   
       </s2>
  
  
  
  1.5       +92 -0     xml-xerces/c/doc/migration_archive.xml
  
  Index: migration_archive.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/doc/migration_archive.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- migration_archive.xml	18 Jan 2002 16:31:09 -0000	1.4
  +++ migration_archive.xml	5 Feb 2002 18:06:13 -0000	1.5
  @@ -2,6 +2,98 @@
   <!DOCTYPE s1 SYSTEM "./dtd/document.dtd">
   
   <s1 title="Migration Archive">
  +    <s2 title="Migrating from &XercesCName; &XercesCVersion152; to &XercesCName; &XercesCVersion;">
  +      <p>The following section is a discussion of the technical differences between
  +      &XercesCName; &XercesCVersion152; code base and the &XercesCName; &XercesCVersion; code base.</p>
  +
  +      <p>Topics discussed are:</p>
  +      <ul>
  +        <li><link anchor="NewFeatures">New features in &XercesCName; &XercesCVersion;</link></li>
  +        <li><link anchor="API">Public API Changes in &XercesCName; &XercesCVersion;</link></li>
  +        <ul>
  +            <li><link anchor="NewAPI">New Public API</link></li>
  +            <li><link anchor="ModifiedAPI">Modified Public API</link></li>
  +            <li><link anchor="DeprecatedAPI">Deprecated Public API</link></li>
  +        </ul>
  +      </ul>
  +    </s2>
  +
  +    <anchor name="NewFeatures"/>
  +    <s2 title="New features in &XercesCName; &XercesCVersion;">
  +      <ul>
  +        <li>Full Schema support is available in this release.
  +            See <jump href="schema.html">the Schema page</jump> for details.</li>
  +        <li>New sample SEnumVal to show how to enumerate the markup decls in a Schema Grammar is added.</li>
  +      </ul>
  +    </s2>
  +
  +    <anchor name="API"/>
  +    <s2 title="Public API Changes in &XercesCName; &XercesCVersion;">
  +
  +        <p>The following lists the public API changes between the &XercesCName;
  +           &XercesCVersion152; and the &XercesCName; &XercesCVersion; releases
  +           of the parser. </p>
  +
  +        <anchor name="NewAPI"/>
  +        <s3 title="New Public API">
  +            <ul>
  +              <li>It should not be a fatal error if a schema InputSource is not found.
  +                  Add the following new methods:</li>
  +                <ul>
  +                   <li>const bool InputSource::getIssueFatalErrorIfNotFound() const</li>
  +                   <li>void InputSource::setIssueFatalErrorIfNotFound(const bool flag</li>
  +                </ul>
  +              <li>Allow code to take advantage of the fact that the length of the prefix and
  +                  local name are known when constructing the QName.
  +                  Add the following new methods:</li>
  +                <ul>
  +                   <li>void QName::setNPrefix(const XMLCh*, const unsigned int)</li>
  +                   <li>void QName::setNLocalPart(const XMLCh*, const unsigned int)</li>
  +                </ul>
  +              <li>To support schemaLocation and noNamespaceSchemaLocation to be specified outside the
  +                  instance document, the following new methods are added:</li>
  +              <ul>
  +                <li>XMLCh* DOMParser::getExternalSchemaLocation() const</li>
  +                <li>XMLCh* DOMParser::getExternalNoNamespaceSchemaLocation() const</li>
  +                <li>void DOMParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  +                <li>void DOMParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  +                <li>XMLCh* IDOMParser::getExternalSchemaLocation() const</li>
  +                <li>XMLCh* IDOMParser::getExternalNoNamespaceSchemaLocation() const</li>
  +                <li>void IDOMParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  +                <li>void IDOMParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  +                <li>XMLCh* SAXParser::getExternalSchemaLocation() const</li>
  +                <li>XMLCh* SAXParser::getExternalNoNamespaceSchemaLocation() const</li>
  +                <li>void SAXParser::setExternalSchemaLocation(const XMLCh* const schemaLocation)</li>
  +                <li>void SAXParser::setExternalNoNamespaceSchemaLocation(const char* const noNamespaceSchemaLocation)</li>
  +                <li>and the following properties are recognized by SAX2XMLReader:</li>
  +                <ul>
  +                   <li>http://apache.org/xml/properties/schema/external-schemaLocation</li>
  +                   <li>http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation</li>
  +                </ul>
  +              </ul>
  +              <li>To support identity constraints, the following new method is added:</li>
  +              <ul>
  +                <li>QName* XMLAttr::getAttName() const</li>
  +              </ul>
  +            </ul>
  +        </s3>
  +
  +        <anchor name="ModifiedAPI"/>
  +        <s3 title="Modified Public API">
  +            <ul>
  +              <li>To support attribute constraint checking, the constant values in XMLAttDef::DefAttTypes have been re-ordered.</li>
  +            </ul>
  +        </s3>
  +
  +        <anchor name="DeprecatedAPI"/>
  +        <s3 title="Deprecated Public API">
  +            <ul>
  +              <li>Root Element check is moved from XMLValidator to XMLScanner.  Thus XMLValidator::checkRootElement() is deprecated.</li>
  +            </ul>
  +        </s3>
  +
  +    </s2>
  +
       <s2 title="Migrating from &XercesCName; &XercesCVersion140; to &XercesCName; &XercesCVersion152;">
         <p>The following section is a discussion of the technical differences between
         &XercesCName; &XercesCVersion140; code base and the &XercesCName; &XercesCVersion152; code base.</p>
  
  
  

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