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 2001/07/05 15:12:20 UTC

cvs commit: xml-xerces/c/src/validators/DTD DTDScanner.cpp

tng         01/07/05 06:12:20

  Modified:    c/src/NLS/EN_US XMLErrList_EN_US.Xml
               c/src/framework XMLErrorCodes.hpp XMLValidityCodes.hpp
               c/src/internal XMLScanner.cpp XMLScanner.hpp XMLScanner2.cpp
               c/src/util/MsgLoaders/InMemory CppErrMsgs_EN_US.hpp
               c/src/util/MsgLoaders/MsgCatalog XMLMsgCat_EN_US.Msg
               c/src/util/Platforms/Win32 Version.rc
               c/src/validators/DTD DTDScanner.cpp
  Log:
  Standalone checking is validity constraint and thus should be just error, not fatal error:
  
  Revision  Changes    Path
  1.32      +5 -1      xml-xerces/c/src/NLS/EN_US/XMLErrList_EN_US.Xml
  
  Index: XMLErrList_EN_US.Xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/NLS/EN_US/XMLErrList_EN_US.Xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- XMLErrList_EN_US.Xml	2001/06/20 17:59:58	1.31
  +++ XMLErrList_EN_US.Xml	2001/07/05 13:12:06	1.32
  @@ -185,7 +185,6 @@
               <Message Id="ExpectedEnumSepOrParen" Text="Expected | enumeration separator, or closing paren"/>
               <Message Id="UnterminatedEntityLiteral" Text="Unterminated entity literal"/>
               <Message Id="MoreEndThanStartTags" Text="There are more end tags than start tags"/>
  -            <Message Id="IllegalRefInStandalone" Text="Reference to external declaration in standalone document. Entity={0}"/>
               <Message Id="ExpectedOpenParen" Text="Expected an open parenthesis"/>
               <Message Id="AttrAlreadyUsedInSTag" Text="The attribute '{0}' is already used in element '{1}'"/>
               <Message Id="BracketInAttrValue" Text="A '&lt;' character cannot be used in attribute '{0}', except through &amp;lt;"/>
  @@ -320,6 +319,11 @@
               <Message Id="GenericError" Text="Schema error during parsing"/>
               <Message Id="ElementNotQualified" Text="Element '{0}' should be qualified"/>
               <Message Id="ElementNotUnQualified" Text="Element '{0}' should be un-qualified"/>
  +            <Message Id="IllegalRefInStandalone" Text="Reference to external entity declaration '{0}' is not allowed in a standalone document."/>
  +            <Message Id="NoDefAttForStandalone" Text="Attribute '{0}' for element '{1}' has a default value and must be specified in a standalone document."/>
  +            <Message Id="NoAttNormForStandalone" Text="Attribute '{0}' must not be changed by normalization in a standalone document."/>
  +            <Message Id="NoWSForStandalone" Text="White space must not occur between externally declared elements with element content in a standalone document."/>
  +            <Message Id="VC_EntityNotFound" Text="Entity '{0}' was not found"/>
           </Error>
       </MsgDomain>
       <MsgDomain Domain="http://apache.org/xml/messages/XML4CErrors">
  
  
  
  1.13      +51 -52    xml-xerces/c/src/framework/XMLErrorCodes.hpp
  
  Index: XMLErrorCodes.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/framework/XMLErrorCodes.hpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XMLErrorCodes.hpp	2001/06/06 21:00:22	1.12
  +++ XMLErrorCodes.hpp	2001/07/05 13:12:08	1.13
  @@ -189,58 +189,57 @@
         , ExpectedEnumSepOrParen             = 176
         , UnterminatedEntityLiteral          = 177
         , MoreEndThanStartTags               = 178
  -      , IllegalRefInStandalone             = 179
  -      , ExpectedOpenParen                  = 180
  -      , AttrAlreadyUsedInSTag              = 181
  -      , BracketInAttrValue                 = 182
  -      , Expected2ndSurrogateChar           = 183
  -      , ExpectedEndOfConditional           = 184
  -      , ExpectedIncOrIgn                   = 185
  -      , ExpectedINCLUDEBracket             = 186
  -      , ExpectedTextDecl                   = 187
  -      , ExpectedXMLDecl                    = 188
  -      , UnexpectedEOE                      = 189
  -      , PEPropogated                       = 190
  -      , ExtraCloseSquare                   = 191
  -      , PERefInMarkupInIntSubset           = 192
  -      , EntityPropogated                   = 193
  -      , ExpectedNumericalCharRef           = 194
  -      , ExpectedOpenSquareBracket          = 195
  -      , BadSequenceInCharData              = 196
  -      , IllegalSequenceInComment           = 197
  -      , UnterminatedCDATASection           = 198
  -      , ExpectedNDATA                      = 199
  -      , NDATANotValidForPE                 = 200
  -      , HexRadixMustBeLowerCase            = 201
  -      , DeclStringRep                      = 202
  -      , DeclStringsInWrongOrder            = 203
  -      , NoExtRefsInAttValue                = 204
  -      , XMLDeclMustBeLowerCase             = 205
  -      , ExpectedEntityValue                = 206
  -      , BadDigitForRadix                   = 207
  -      , EndedWithTagsOnStack               = 208
  -      , AmbiguousContentModel              = 209
  -      , NestedCDATA                        = 210
  -      , UnknownPrefix                      = 211
  -      , PartialTagMarkupError              = 212
  -      , EmptyMainEntity                    = 213
  -      , CDATAOutsideOfContent              = 214
  -      , OnlyCharRefsAllowedHere            = 215
  -      , Unexpected2ndSurrogateChar         = 216
  -      , NoPIStartsWithXML                  = 217
  -      , XMLDeclMustBeFirst                 = 218
  -      , XMLVersionRequired                 = 219
  -      , StandaloneNotLegal                 = 220
  -      , TooManyColonsInName                = 221
  -      , InvalidColonPos                    = 222
  -      , ColonNotLegalWithNS                = 223
  -      , SysException                       = 224
  -      , XMLException                       = 225
  -      , UnexpectedEOF                      = 226
  -      , UnexpectedError                    = 227
  -      , BadSchemaLocation                  = 228
  -      , NoGrammarResolver                  = 229
  -      , F_HighBounds                       = 230
  +      , ExpectedOpenParen                  = 179
  +      , AttrAlreadyUsedInSTag              = 180
  +      , BracketInAttrValue                 = 181
  +      , Expected2ndSurrogateChar           = 182
  +      , ExpectedEndOfConditional           = 183
  +      , ExpectedIncOrIgn                   = 184
  +      , ExpectedINCLUDEBracket             = 185
  +      , ExpectedTextDecl                   = 186
  +      , ExpectedXMLDecl                    = 187
  +      , UnexpectedEOE                      = 188
  +      , PEPropogated                       = 189
  +      , ExtraCloseSquare                   = 190
  +      , PERefInMarkupInIntSubset           = 191
  +      , EntityPropogated                   = 192
  +      , ExpectedNumericalCharRef           = 193
  +      , ExpectedOpenSquareBracket          = 194
  +      , BadSequenceInCharData              = 195
  +      , IllegalSequenceInComment           = 196
  +      , UnterminatedCDATASection           = 197
  +      , ExpectedNDATA                      = 198
  +      , NDATANotValidForPE                 = 199
  +      , HexRadixMustBeLowerCase            = 200
  +      , DeclStringRep                      = 201
  +      , DeclStringsInWrongOrder            = 202
  +      , NoExtRefsInAttValue                = 203
  +      , XMLDeclMustBeLowerCase             = 204
  +      , ExpectedEntityValue                = 205
  +      , BadDigitForRadix                   = 206
  +      , EndedWithTagsOnStack               = 207
  +      , AmbiguousContentModel              = 208
  +      , NestedCDATA                        = 209
  +      , UnknownPrefix                      = 210
  +      , PartialTagMarkupError              = 211
  +      , EmptyMainEntity                    = 212
  +      , CDATAOutsideOfContent              = 213
  +      , OnlyCharRefsAllowedHere            = 214
  +      , Unexpected2ndSurrogateChar         = 215
  +      , NoPIStartsWithXML                  = 216
  +      , XMLDeclMustBeFirst                 = 217
  +      , XMLVersionRequired                 = 218
  +      , StandaloneNotLegal                 = 219
  +      , TooManyColonsInName                = 220
  +      , InvalidColonPos                    = 221
  +      , ColonNotLegalWithNS                = 222
  +      , SysException                       = 223
  +      , XMLException                       = 224
  +      , UnexpectedEOF                      = 225
  +      , UnexpectedError                    = 226
  +      , BadSchemaLocation                  = 227
  +      , NoGrammarResolver                  = 228
  +      , F_HighBounds                       = 229
       };
   
       static bool isFatal(const XMLErrs::Codes toCheck)
  
  
  
  1.10      +10 -5     xml-xerces/c/src/framework/XMLValidityCodes.hpp
  
  Index: XMLValidityCodes.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/framework/XMLValidityCodes.hpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLValidityCodes.hpp	2001/05/28 21:04:08	1.9
  +++ XMLValidityCodes.hpp	2001/07/05 13:12:08	1.10
  @@ -92,11 +92,16 @@
         , GenericError                       = 79
         , ElementNotQualified                = 80
         , ElementNotUnQualified              = 81
  -      , E_HighBounds                       = 82
  -      , W_LowBounds                        = 83
  -      , W_HighBounds                       = 84
  -      , F_LowBounds                        = 85
  -      , F_HighBounds                       = 86
  +      , IllegalRefInStandalone             = 82
  +      , NoDefAttForStandalone              = 83
  +      , NoAttNormForStandalone             = 84
  +      , NoWSForStandalone                  = 85
  +      , VC_EntityNotFound                  = 86
  +      , E_HighBounds                       = 87
  +      , W_LowBounds                        = 88
  +      , W_HighBounds                       = 89
  +      , F_LowBounds                        = 90
  +      , F_HighBounds                       = 91
       };
   
       static bool isFatal(const XMLValid::Codes toCheck)
  
  
  
  1.51      +15 -15    xml-xerces/c/src/internal/XMLScanner.cpp
  
  Index: XMLScanner.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/internal/XMLScanner.cpp,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- XMLScanner.cpp	2001/06/22 17:24:00	1.50
  +++ XMLScanner.cpp	2001/07/05 13:12:10	1.51
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: XMLScanner.cpp,v 1.50 2001/06/22 17:24:00 tng Exp $
  + * $Id: XMLScanner.cpp,v 1.51 2001/07/05 13:12:10 tng Exp $
    */
   
   
  @@ -170,6 +170,7 @@
       , fScannerId(0)
       , fSequenceId(0)
       , fStandalone(false)
  +    , fHasNoDTD(true)
       , fValidate(false)
       , fValidator(valToAdopt)
       , fDTDValidator(0)
  @@ -223,6 +224,7 @@
       , fScannerId(0)
       , fSequenceId(0)
       , fStandalone(false)
  +    , fHasNoDTD(true)
       , fValidate(false)
       , fValidator(valToAdopt)
       , fDTDValidator(0)
  @@ -2542,22 +2544,20 @@
                           (
                               XMLValid::RequiredAttrNotProvided
                               , curDef.getFullName()
  -                            , elemDecl->getFullName()
                           );
                       }
  -		            else if ((defType == XMLAttDef::Default) ||
  -		                     (defType == XMLAttDef::Fixed)  )
  -					{
  -		                if (fStandalone && curDef.isExternal())
  -		                {
  -			                //
  -			                // XML 1.0 Section 2.9
  -			                // Document is standalone, so attributes must not be defaulted.
  -			                //
  -			                emitError(XMLErrs::BadStandalone, elemDecl->getFullName());
  -
  -		                 }
  -		             }
  +                    else if ((defType == XMLAttDef::Default) ||
  +		                       (defType == XMLAttDef::Fixed)  )
  +                    {
  +                        if (fStandalone && curDef.isExternal())
  +                        {
  +                            //
  +                            // XML 1.0 Section 2.9
  +                            // Document is standalone, so attributes must not be defaulted.
  +                            //
  +                            fValidator->emitError(XMLValid::NoDefAttForStandalone, curDef.getFullName(), elemDecl->getFullName());
  +                        }
  +                    }
                   }
   
                   // Fault in the value if needed, and bump the att count
  
  
  
  1.23      +13 -0     xml-xerces/c/src/internal/XMLScanner.hpp
  
  Index: XMLScanner.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/internal/XMLScanner.hpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XMLScanner.hpp	2001/06/22 12:42:33	1.22
  +++ XMLScanner.hpp	2001/07/05 13:12:11	1.23
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: XMLScanner.hpp,v $
  + * Revision 1.23  2001/07/05 13:12:11  tng
  + * Standalone checking is validity constraint and thus should be just error, not fatal error:
  + *
    * Revision 1.22  2001/06/22 12:42:33  tng
    * [Bug 2257] 1.5 thinks a <?xml-stylesheet ...> tag is a <?xml ...> tag
    *
  @@ -413,6 +416,7 @@
       void setValidationScheme(const ValSchemes newScheme);
       void setValidator(XMLValidator* const valToAdopt);
       void setDoSchema(const bool doSchema);
  +    void setHasNoDTD(const bool hasNoDTD);
   
       // -----------------------------------------------------------------------
       //  Mutator methods
  @@ -693,6 +697,10 @@
       //      Indicates whether the document is standalone or not. Defaults to
       //      no, but can be overridden in the XMLDecl.
       //
  +    //  fHasNoDTD
  +    //      Indicates the document has no DTD or has only an internal DTD subset
  +    //      which contains no parameter entity references.
  +    //
       //  fValidate
       //      Indicates whether any validation should be done. This is defined
       //      by the existence of a Grammar together with fValScheme.
  @@ -796,6 +804,7 @@
       XMLUInt32                   fScannerId;
       XMLUInt32                   fSequenceId;
       bool                        fStandalone;
  +    bool                        fHasNoDTD;
       bool                        fValidate;
       XMLValidator*               fValidator;
       DTDValidator*               fDTDValidator;
  @@ -1075,6 +1084,10 @@
       fDoSchema = doSchema;
   }
   
  +inline void XMLScanner::setHasNoDTD(const bool hasNoDTD)
  +{
  +    fHasNoDTD = hasNoDTD;
  +}
   
   // ---------------------------------------------------------------------------
   //  XMLScanner: Mutator methods
  
  
  
  1.41      +45 -14    xml-xerces/c/src/internal/XMLScanner2.cpp
  
  Index: XMLScanner2.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/internal/XMLScanner2.cpp,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- XMLScanner2.cpp	2001/06/27 20:29:12	1.40
  +++ XMLScanner2.cpp	2001/07/05 13:12:12	1.41
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: XMLScanner2.cpp,v 1.40 2001/06/27 20:29:12 tng Exp $
  + * $Id: XMLScanner2.cpp,v 1.41 2001/07/05 13:12:12 tng Exp $
    */
   
   
  @@ -442,7 +442,7 @@
                               // XML 1.0 Section 2.9
                               // Document is standalone, so attributes must not be defaulted.
                               //
  -                            emitError(XMLErrs::BadStandalone, elemDecl.getFullName());
  +                            fValidator->emitError(XMLValid::NoDefAttForStandalone, curDef.getFullName(), elemDecl.getFullName());
                           }
                       }
                   }
  @@ -1719,7 +1719,7 @@
                                // Can't have a standalone document declaration of "yes" if  attribute
                                // values are subject to normalisation
                                //
  -                             emitError(XMLErrs::BadStandalone);
  +                             fValidator->emitError(XMLValid::NoAttNormForStandalone, attrName);
                           }
                           curState = InWhitespace;
                           continue;
  @@ -1809,7 +1809,23 @@
               // This document is standalone; this ignorable CDATA whitespace is forbidden.
               // XML 1.0, Section 2.9
               //
  -            emitError(XMLErrs::BadStandalone);
  +
  +            // And see if the current element is a 'Children' style content model
  +            const ElemStack::StackElem* topElem = fElemStack.topElement();
  +
  +            if (topElem->fThisElement->isExternal()) {
  +
  +                // Get the character data opts for the current element
  +                XMLElementDecl::CharDataOpts charOpts =  topElem->fThisElement->getCharDataOpts();
  +
  +                if (charOpts == XMLElementDecl::SpacesOk) // Element Content
  +                {
  +                    // Error - standalone should have a value of "no" as whitespace detected in an
  +                    // element type with element content whose element declaration was external
  +                    //
  +                    fValidator->emitError(XMLValid::NoWSForStandalone);
  +                }
  +            }
           }
   
           //
  @@ -2057,7 +2073,7 @@
       const XMLCh* rawBuf = toUse.getRawBuffer();
       const unsigned int len = toUse.getLen();
   
  -    if (fValidate)
  +    if (fValidate && fStandalone)
       {
           // See if the text contains whitespace
           // Get the raw data we need for the callback
  @@ -2067,17 +2083,17 @@
               // And see if the current element is a 'Children' style content model
               const ElemStack::StackElem* topElem = fElemStack.topElement();
   
  -            // Get the character data opts for the current element
  -            XMLElementDecl::CharDataOpts charOpts =  topElem->fThisElement->getCharDataOpts();
  +            if (topElem->fThisElement->isExternal()) {
   
  -            if (charOpts == XMLElementDecl::SpacesOk)  // => Element Content
  -            {
  -                if ((fStandalone) && (topElem->fThisElement->isExternal()))
  +                // Get the character data opts for the current element
  +                XMLElementDecl::CharDataOpts charOpts =  topElem->fThisElement->getCharDataOpts();
  +
  +                if (charOpts == XMLElementDecl::SpacesOk)  // => Element Content
                   {
                       // Error - standalone should have a value of "no" as whitespace detected in an
                       // element type with element content whose element declaration was external
                       //
  -                    emitError(XMLErrs::BadStandalone);
  +                    fValidator->emitError(XMLValid::NoWSForStandalone);
                   }
               }
           }
  @@ -2412,16 +2428,31 @@
       // If it does not exist, then obviously an error
       if (!decl)
       {
  -        emitError(XMLErrs::EntityNotFound, bbName.getRawBuffer());
  +        // XML 1.0 Section 4.1
  +        // Well-formedness Constraint for entity not found:
  +        //   In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references,
  +        //      or a document with "standalone='yes'", for an entity reference that does not occur within the external subset
  +        //      or a parameter entity
  +        //
  +        // Else it's Validity Constraint
  +        //
  +        if (fStandalone || fHasNoDTD)
  +            emitError(XMLErrs::EntityNotFound, bbName.getRawBuffer());
  +        else {
  +            if (fValidate)
  +                fValidator->emitError(XMLValid::VC_EntityNotFound, bbName.getRawBuffer());
  +        }
  +
           return EntityExp_Failed;
       }
   
       //
  +    // XML 1.0 Section 2.9
       //  If we are a standalone document, then it has to have been declared
       //  in the internal subset. Keep going though.
       //
  -    if (fStandalone && !decl->getDeclaredInIntSubset())
  -        emitError(XMLErrs::IllegalRefInStandalone, bbName.getRawBuffer());
  +    if (fStandalone && !decl->getDeclaredInIntSubset() && fValidate)
  +        fValidator->emitError(XMLValid::IllegalRefInStandalone, bbName.getRawBuffer());
   
       if (decl->isExternal())
       {
  
  
  
  1.31      +7 -3      xml-xerces/c/src/util/MsgLoaders/InMemory/CppErrMsgs_EN_US.hpp
  
  Index: CppErrMsgs_EN_US.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/MsgLoaders/InMemory/CppErrMsgs_EN_US.hpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- CppErrMsgs_EN_US.hpp	2001/06/20 18:00:31	1.30
  +++ CppErrMsgs_EN_US.hpp	2001/07/05 13:12:14	1.31
  @@ -183,7 +183,6 @@
     , { 0x0045,0x0078,0x0070,0x0065,0x0063,0x0074,0x0065,0x0064,0x0020,0x007C,0x0020,0x0065,0x006E,0x0075,0x006D,0x0065,0x0072,0x0061,0x0074,0x0069,0x006F,0x006E,0x0020,0x0073,0x0065,0x0070,0x0061,0x0072,0x0061,0x0074,0x006F,0x0072,0x002C,0x0020,0x006F,0x0072,0x0020,0x0063,0x006C,0x006F,0x0073,0x0069,0x006E,0x0067,0x0020,0x0070,0x0061,0x0072,0x0065,0x006E,0x00 }
     , { 0x0055,0x006E,0x0074,0x0065,0x0072,0x006D,0x0069,0x006E,0x0061,0x0074,0x0065,0x0064,0x0020,0x0065,0x006E,0x0074,0x0069,0x0074,0x0079,0x0020,0x006C,0x0069,0x0074,0x0065,0x0072,0x0061,0x006C,0x00 }
     , { 0x0054,0x0068,0x0065,0x0072,0x0065,0x0020,0x0061,0x0072,0x0065,0x0020,0x006D,0x006F,0x0072,0x0065,0x0020,0x0065,0x006E,0x0064,0x0020,0x0074,0x0061,0x0067,0x0073,0x0020,0x0074,0x0068,0x0061,0x006E,0x0020,0x0073,0x0074,0x0061,0x0072,0x0074,0x0020,0x0074,0x0061,0x0067,0x0073,0x00 }
  -  , { 0x0052,0x0065,0x0066,0x0065,0x0072,0x0065,0x006E,0x0063,0x0065,0x0020,0x0074,0x006F,0x0020,0x0065,0x0078,0x0074,0x0065,0x0072,0x006E,0x0061,0x006C,0x0020,0x0064,0x0065,0x0063,0x006C,0x0061,0x0072,0x0061,0x0074,0x0069,0x006F,0x006E,0x0020,0x0069,0x006E,0x0020,0x0073,0x0074,0x0061,0x006E,0x0064,0x0061,0x006C,0x006F,0x006E,0x0065,0x0020,0x0064,0x006F,0x0063,0x0075,0x006D,0x0065,0x006E,0x0074,0x002E,0x0020,0x0045,0x006E,0x0074,0x0069,0x0074,0x0079,0x003D,0x007B,0x0030,0x007D,0x00 }
     , { 0x0045,0x0078,0x0070,0x0065,0x0063,0x0074,0x0065,0x0064,0x0020,0x0061,0x006E,0x0020,0x006F,0x0070,0x0065,0x006E,0x0020,0x0070,0x0061,0x0072,0x0065,0x006E,0x0074,0x0068,0x0065,0x0073,0x0069,0x0073,0x00 }
     , { 0x0054,0x0068,0x0065,0x0020,0x0061,0x0074,0x0074,0x0072,0x0069,0x0062,0x0075,0x0074,0x0065,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0069,0x0073,0x0020,0x0061,0x006C,0x0072,0x0065,0x0061,0x0064,0x0079,0x0020,0x0075,0x0073,0x0065,0x0064,0x0020,0x0069,0x006E,0x0020,0x0065,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0020,0x0027,0x007B,0x0031,0x007D,0x0027,0x00 }
     , { 0x0041,0x0020,0x0027,0x003C,0x0027,0x0020,0x0063,0x0068,0x0061,0x0072,0x0061,0x0063,0x0074,0x0065,0x0072,0x0020,0x0063,0x0061,0x006E,0x006E,0x006F,0x0074,0x0020,0x0062,0x0065,0x0020,0x0075,0x0073,0x0065,0x0064,0x0020,0x0069,0x006E,0x0020,0x0061,0x0074,0x0074,0x0072,0x0069,0x0062,0x0075,0x0074,0x0065,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x002C,0x0020,0x0065,0x0078,0x0063,0x0065,0x0070,0x0074,0x0020,0x0074,0x0068,0x0072,0x006F,0x0075,0x0067,0x0068,0x0020,0x0026,0x006C,0x0074,0x003B,0x00 }
  @@ -237,7 +236,7 @@
     , { 0x0046,0x005F,0x0045,0x006E,0x0064,0x00 }
   
   };
  -const unsigned int gXMLErrArraySize = 231;
  +const unsigned int gXMLErrArraySize = 230;
   
   const XMLCh gXMLValidityArray[][128] = 
   {
  @@ -322,10 +321,15 @@
     , { 0x0053,0x0063,0x0068,0x0065,0x006D,0x0061,0x0020,0x0065,0x0072,0x0072,0x006F,0x0072,0x0020,0x0064,0x0075,0x0072,0x0069,0x006E,0x0067,0x0020,0x0070,0x0061,0x0072,0x0073,0x0069,0x006E,0x0067,0x00 }
     , { 0x0045,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0073,0x0068,0x006F,0x0075,0x006C,0x0064,0x0020,0x0062,0x0065,0x0020,0x0071,0x0075,0x0061,0x006C,0x0069,0x0066,0x0069,0x0065,0x0064,0x00 }
     , { 0x0045,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0073,0x0068,0x006F,0x0075,0x006C,0x0064,0x0020,0x0062,0x0065,0x0020,0x0075,0x006E,0x002D,0x0071,0x0075,0x0061,0x006C,0x0069,0x0066,0x0069,0x0065,0x0064,0x00 }
  +  , { 0x0052,0x0065,0x0066,0x0065,0x0072,0x0065,0x006E,0x0063,0x0065,0x0020,0x0074,0x006F,0x0020,0x0065,0x0078,0x0074,0x0065,0x0072,0x006E,0x0061,0x006C,0x0020,0x0065,0x006E,0x0074,0x0069,0x0074,0x0079,0x0020,0x0064,0x0065,0x0063,0x006C,0x0061,0x0072,0x0061,0x0074,0x0069,0x006F,0x006E,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0069,0x0073,0x0020,0x006E,0x006F,0x0074,0x0020,0x0061,0x006C,0x006C,0x006F,0x0077,0x0065,0x0064,0x0020,0x0069,0x006E,0x0020,0x0061,0x0020,0x0073,0x0074,0x0061,0x006E,0x0064,0x0061,0x006C,0x006F,0x006E,0x0065,0x0020,0x0064,0x006F,0x0063,0x0075,0x006D,0x0065,0x006E,0x0074,0x002E,0x00 }
  +  , { 0x0041,0x0074,0x0074,0x0072,0x0069,0x0062,0x0075,0x0074,0x0065,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0066,0x006F,0x0072,0x0020,0x0065,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0020,0x0027,0x007B,0x0031,0x007D,0x0027,0x0020,0x0068,0x0061,0x0073,0x0020,0x0061,0x0020,0x0064,0x0065,0x0066,0x0061,0x0075,0x006C,0x0074,0x0020,0x0076,0x0061,0x006C,0x0075,0x0065,0x0020,0x0061,0x006E,0x0064,0x0020,0x006D,0x0075,0x0073,0x0074,0x0020,0x0062,0x0065,0x0020,0x0073,0x0070,0x0065,0x0063,0x0069,0x0066,0x0069,0x0065,0x0064,0x0020,0x0069,0x006E,0x0020,0x0061,0x0020,0x0073,0x0074,0x0061,0x006E,0x0064,0x0061,0x006C,0x006F,0x006E,0x0065,0x0020,0x0064,0x006F,0x0063,0x0075,0x006D,0x0065,0x006E,0x0074,0x002E,0x00 }
  +  , { 0x0041,0x0074,0x0074,0x0072,0x0069,0x0062,0x0075,0x0074,0x0065,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x006D,0x0075,0x0073,0x0074,0x0020,0x006E,0x006F,0x0074,0x0020,0x0062,0x0065,0x0020,0x0063,0x0068,0x0061,0x006E,0x0067,0x0065,0x0064,0x0020,0x0062,0x0079,0x0020,0x006E,0x006F,0x0072,0x006D,0x0061,0x006C,0x0069,0x007A,0x0061,0x0074,0x0069,0x006F,0x006E,0x0020,0x0069,0x006E,0x0020,0x0061,0x0020,0x0073,0x0074,0x0061,0x006E,0x0064,0x0061,0x006C,0x006F,0x006E,0x0065,0x0020,0x0064,0x006F,0x0063,0x0075,0x006D,0x0065,0x006E,0x0074,0x002E,0x00 }
  +  , { 0x0057,0x0068,0x0069,0x0074,0x0065,0x0020,0x0073,0x0070,0x0061,0x0063,0x0065,0x0020,0x006D,0x0075,0x0073,0x0074,0x0020,0x006E,0x006F,0x0074,0x0020,0x006F,0x0063,0x0063,0x0075,0x0072,0x0020,0x0062,0x0065,0x0074,0x0077,0x0065,0x0065,0x006E,0x0020,0x0065,0x0078,0x0074,0x0065,0x0072,0x006E,0x0061,0x006C,0x006C,0x0079,0x0020,0x0064,0x0065,0x0063,0x006C,0x0061,0x0072,0x0065,0x0064,0x0020,0x0065,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0073,0x0020,0x0077,0x0069,0x0074,0x0068,0x0020,0x0065,0x006C,0x0065,0x006D,0x0065,0x006E,0x0074,0x0020,0x0063,0x006F,0x006E,0x0074,0x0065,0x006E,0x0074,0x0020,0x0069,0x006E,0x0020,0x0061,0x0020,0x0073,0x0074,0x0061,0x006E,0x0064,0x0061,0x006C,0x006F,0x006E,0x0065,0x0020,0x0064,0x006F,0x0063,0x0075,0x006D,0x0065,0x006E,0x0074,0x002E,0x00 }
  +  , { 0x0045,0x006E,0x0074,0x0069,0x0074,0x0079,0x0020,0x0027,0x007B,0x0030,0x007D,0x0027,0x0020,0x0077,0x0061,0x0073,0x0020,0x006E,0x006F,0x0074,0x0020,0x0066,0x006F,0x0075,0x006E,0x0064,0x00 }
     , { 0x0045,0x005F,0x0045,0x006E,0x0064,0x00 }
   
   };
  -const unsigned int gXMLValidityArraySize = 87;
  +const unsigned int gXMLValidityArraySize = 92;
   
   const XMLCh gXMLExceptArray[][128] = 
   {
  
  
  
  1.34      +55 -51    xml-xerces/c/src/util/MsgLoaders/MsgCatalog/XMLMsgCat_EN_US.Msg
  
  Index: XMLMsgCat_EN_US.Msg
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/MsgLoaders/MsgCatalog/XMLMsgCat_EN_US.Msg,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- XMLMsgCat_EN_US.Msg	2001/06/20 18:00:40	1.33
  +++ XMLMsgCat_EN_US.Msg	2001/07/05 13:12:16	1.34
  @@ -173,57 +173,56 @@
   176  Expected | enumeration separator, or closing paren
   177  Unterminated entity literal
   178  There are more end tags than start tags
  -179  Reference to external declaration in standalone document. Entity={0}
  -180  Expected an open parenthesis
  -181  The attribute '{0}' is already used in element '{1}'
  -182  A '<' character cannot be used in attribute '{0}', except through &lt;
  -183  A leading surrogate character was not followed by a legal second character
  -184  Expected ']]>' to end a conditional section
  -185  Expected INCLUDE or IGNORE here
  -186  Expected [ to follow INCLUDE or IGNORE
  -187  Expected a TextDecl here: <?xml ....
  -188  Expected a XMLDecl here: <?xml ....
  -189  Unexpected end of entity {0}
  -190  A PE propogated out of the int/ext subset, discarding extra text
  -191  An extra ] character was found an ignored
  -192  PE refs are not allowed inside markup in the internal subset
  -193  An entity propogated out of the content section into Miscellaneous
  -194  Expected &# to be followed by a numeric character value
  -195  Expected an open bracket ('[') here
  -196  The sequence ']]>' is not allowed in character data
  -197  Illegal sequence '--' in comment
  -198  Unterminated CDATA section
  -199  Expected NDATA
  -200  NDATA is not legal for parameter entities
  -201  Hex radix character refs must use 'x', not 'X'
  -202  '{0}' has already been set. Ignoring redundant setting
  -203  The XMLDecl strings must be in the order: version, encoding, standalone
  -204  External entities cannot be referred to from attribute values
  -205  The XML or Text decl must start with '<?xml ', not '<?XML '
  -206  Expected a literal entity value or PUBLIC/SYSTEM id
  -207  '{0}' is not a valid digit for the indicated radix
  -208  The input ended before all started tags were ended. Last tag started was '{0}'
  -209  The content model for element '{0}' is ambiguous
  -210  Nested CDATA sections are not allowed
  -211  The prefix '{0}' has not been mapped to any URI
  -212  The start and the end tag were in the different entities
  -213  The main XML document cannot be empty
  -214  CDATA is not allowed outside the root element
  -215  Only numeric character entities or special character entities are legal here
  -216  Got an unexpected trailing surrogate character
  -217  No processing instruction starts with 'xml'
  -218  The XML or Text declaration must start at line/column 1/1
  -219  The 'version=' string is required in an XMLDecl
  -220  The 'standalone=' string is only allowed in the main XML entity
  -221  When namespaces are enabled, a name can have only one colon character
  -222  When namespaces are enabled, the colon cannot be the first or last character
  -223  Colons are not allowed in this name when namespaces are enabled
  -224  A system exception occured during processing
  -225  An exception occured! Type:{0}, Message:{1}
  -226  Unexpected end of file exception. Message: {0}
  -227  UnexpectedError
  -228  The schemaLocation attribute does not contain pairs of values.
  -229  Internal error: don't have a GrammarResolver for TraverseSchema
  +179  Expected an open parenthesis
  +180  The attribute '{0}' is already used in element '{1}'
  +181  A '<' character cannot be used in attribute '{0}', except through &lt;
  +182  A leading surrogate character was not followed by a legal second character
  +183  Expected ']]>' to end a conditional section
  +184  Expected INCLUDE or IGNORE here
  +185  Expected [ to follow INCLUDE or IGNORE
  +186  Expected a TextDecl here: <?xml ....
  +187  Expected a XMLDecl here: <?xml ....
  +188  Unexpected end of entity {0}
  +189  A PE propogated out of the int/ext subset, discarding extra text
  +190  An extra ] character was found an ignored
  +191  PE refs are not allowed inside markup in the internal subset
  +192  An entity propogated out of the content section into Miscellaneous
  +193  Expected &# to be followed by a numeric character value
  +194  Expected an open bracket ('[') here
  +195  The sequence ']]>' is not allowed in character data
  +196  Illegal sequence '--' in comment
  +197  Unterminated CDATA section
  +198  Expected NDATA
  +199  NDATA is not legal for parameter entities
  +200  Hex radix character refs must use 'x', not 'X'
  +201  '{0}' has already been set. Ignoring redundant setting
  +202  The XMLDecl strings must be in the order: version, encoding, standalone
  +203  External entities cannot be referred to from attribute values
  +204  The XML or Text decl must start with '<?xml ', not '<?XML '
  +205  Expected a literal entity value or PUBLIC/SYSTEM id
  +206  '{0}' is not a valid digit for the indicated radix
  +207  The input ended before all started tags were ended. Last tag started was '{0}'
  +208  The content model for element '{0}' is ambiguous
  +209  Nested CDATA sections are not allowed
  +210  The prefix '{0}' has not been mapped to any URI
  +211  The start and the end tag were in the different entities
  +212  The main XML document cannot be empty
  +213  CDATA is not allowed outside the root element
  +214  Only numeric character entities or special character entities are legal here
  +215  Got an unexpected trailing surrogate character
  +216  No processing instruction starts with 'xml'
  +217  The XML or Text declaration must start at line/column 1/1
  +218  The 'version=' string is required in an XMLDecl
  +219  The 'standalone=' string is only allowed in the main XML entity
  +220  When namespaces are enabled, a name can have only one colon character
  +221  When namespaces are enabled, the colon cannot be the first or last character
  +222  Colons are not allowed in this name when namespaces are enabled
  +223  A system exception occured during processing
  +224  An exception occured! Type:{0}, Message:{1}
  +225  Unexpected end of file exception. Message: {0}
  +226  UnexpectedError
  +227  The schemaLocation attribute does not contain pairs of values.
  +228  Internal error: don't have a GrammarResolver for TraverseSchema
   
   
   $set 2
  @@ -307,6 +306,11 @@
    79  Schema error during parsing
    80  Element '{0}' should be qualified
    81  Element '{0}' should be un-qualified
  + 82  Reference to external entity declaration '{0}' is not allowed in a standalone document.
  + 83  Attribute '{0}' for element '{1}' has a default value and must be specified in a standalone document.
  + 84  Attribute '{0}' must not be changed by normalization in a standalone document.
  + 85  White space must not occur between externally declared elements with element content in a standalone document.
  + 86  Entity '{0}' was not found
   
   
   $set 3
  
  
  
  1.38      +57 -51    xml-xerces/c/src/util/Platforms/Win32/Version.rc
  
  Index: Version.rc
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/Win32/Version.rc,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- Version.rc	2001/06/20 18:00:56	1.37
  +++ Version.rc	2001/07/05 13:12:18	1.38
  @@ -99,6 +99,8 @@
   
   
   
  +
  +
   // ----------------------------------------------------------------
   //  This file was generated from the XML error message source.
   //  so do not edit this file directly!!
  @@ -279,57 +281,56 @@
       176               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x007C\x0020\x0065\x006E\x0075\x006D\x0065\x0072\x0061\x0074\x0069\x006F\x006E\x0020\x0073\x0065\x0070\x0061\x0072\x0061\x0074\x006F\x0072\x002C\x0020\x006F\x0072\x0020\x0063\x006C\x006F\x0073\x0069\x006E\x0067\x0020\x0070\x0061\x0072\x0065\x006E\x00"
       177               L"\x0055\x006E\x0074\x0065\x0072\x006D\x0069\x006E\x0061\x0074\x0065\x0064\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x006C\x0069\x0074\x0065\x0072\x0061\x006C\x00"
       178               L"\x0054\x0068\x0065\x0072\x0065\x0020\x0061\x0072\x0065\x0020\x006D\x006F\x0072\x0065\x0020\x0065\x006E\x0064\x0020\x0074\x0061\x0067\x0073\x0020\x0074\x0068\x0061\x006E\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0074\x0061\x0067\x0073\x00"
  -    179               L"\x0052\x0065\x0066\x0065\x0072\x0065\x006E\x0063\x0065\x0020\x0074\x006F\x0020\x0065\x0078\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0064\x0065\x0063\x006C\x0061\x0072\x0061\x0074\x0069\x006F\x006E\x0020\x0069\x006E\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x002E\x0020\x0045\x006E\x0074\x0069\x0074\x0079\x003D\x007B\x0030\x007D\x00"
  -    180               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x006E\x0020\x006F\x0070\x0065\x006E\x0020\x0070\x0061\x0072\x0065\x006E\x0074\x0068\x0065\x0073\x0069\x0073\x00"
  -    181               L"\x0054\x0068\x0065\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x0061\x006C\x0072\x0065\x0061\x0064\x0079\x0020\x0075\x0073\x0065\x0064\x0020\x0069\x006E\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0031\x007D\x0027\x00"
  -    182               L"\x0041\x0020\x0027\x003C\x0027\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0075\x0073\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x002C\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0020\x0074\x0068\x0072\x006F\x0075\x0067\x0068\x0020\x0026\x006C\x0074\x003B\x00"
  -    183               L"\x0041\x0020\x006C\x0065\x0061\x0064\x0069\x006E\x0067\x0020\x0073\x0075\x0072\x0072\x006F\x0067\x0061\x0074\x0065\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0077\x0061\x0073\x0020\x006E\x006F\x0074\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0062\x0079\x0020\x0061\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0073\x0065\x0063\x006F\x006E\x0064\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  -    184               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0027\x005D\x005D\x003E\x0027\x0020\x0074\x006F\x0020\x0065\x006E\x0064\x0020\x0061\x0020\x0063\x006F\x006E\x0064\x0069\x0074\x0069\x006F\x006E\x0061\x006C\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x00"
  -    185               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0049\x004E\x0043\x004C\x0055\x0044\x0045\x0020\x006F\x0072\x0020\x0049\x0047\x004E\x004F\x0052\x0045\x0020\x0068\x0065\x0072\x0065\x00"
  -    186               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x005B\x0020\x0074\x006F\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0020\x0049\x004E\x0043\x004C\x0055\x0044\x0045\x0020\x006F\x0072\x0020\x0049\x0047\x004E\x004F\x0052\x0045\x00"
  -    187               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x0054\x0065\x0078\x0074\x0044\x0065\x0063\x006C\x0020\x0068\x0065\x0072\x0065\x003A\x0020\x003C\x003F\x0078\x006D\x006C\x0020\x002E\x002E\x002E\x002E\x00"
  -    188               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x0020\x0068\x0065\x0072\x0065\x003A\x0020\x003C\x003F\x0078\x006D\x006C\x0020\x002E\x002E\x002E\x002E\x00"
  -    189               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0065\x006E\x0064\x0020\x006F\x0066\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x007B\x0030\x007D\x00"
  -    190               L"\x0041\x0020\x0050\x0045\x0020\x0070\x0072\x006F\x0070\x006F\x0067\x0061\x0074\x0065\x0064\x0020\x006F\x0075\x0074\x0020\x006F\x0066\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0074\x002F\x0065\x0078\x0074\x0020\x0073\x0075\x0062\x0073\x0065\x0074\x002C\x0020\x0064\x0069\x0073\x0063\x0061\x0072\x0064\x0069\x006E\x0067\x0020\x0065\x0078\x0074\x0072\x0061\x0020\x0074\x0065\x0078\x0074\x00"
  -    191               L"\x0041\x006E\x0020\x0065\x0078\x0074\x0072\x0061\x0020\x005D\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0077\x0061\x0073\x0020\x0066\x006F\x0075\x006E\x0064\x0020\x0061\x006E\x0020\x0069\x0067\x006E\x006F\x0072\x0065\x0064\x00"
  -    192               L"\x0050\x0045\x0020\x0072\x0065\x0066\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0073\x0069\x0064\x0065\x0020\x006D\x0061\x0072\x006B\x0075\x0070\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0073\x0075\x0062\x0073\x0065\x0074\x00"
  -    193               L"\x0041\x006E\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x0070\x0072\x006F\x0070\x006F\x0067\x0061\x0074\x0065\x0064\x0020\x006F\x0075\x0074\x0020\x006F\x0066\x0020\x0074\x0068\x0065\x0020\x0063\x006F\x006E\x0074\x0065\x006E\x0074\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x0020\x0069\x006E\x0074\x006F\x0020\x004D\x0069\x0073\x0063\x0065\x006C\x006C\x0061\x006E\x0065\x006F\x0075\x0073\x00"
  -    194               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0026\x0023\x0020\x0074\x006F\x0020\x0062\x0065\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0062\x0079\x0020\x0061\x0020\x006E\x0075\x006D\x0065\x0072\x0069\x0063\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0076\x0061\x006C\x0075\x0065\x00"
  -    195               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x006E\x0020\x006F\x0070\x0065\x006E\x0020\x0062\x0072\x0061\x0063\x006B\x0065\x0074\x0020\x0028\x0027\x005B\x0027\x0029\x0020\x0068\x0065\x0072\x0065\x00"
  -    196               L"\x0054\x0068\x0065\x0020\x0073\x0065\x0071\x0075\x0065\x006E\x0063\x0065\x0020\x0027\x005D\x005D\x003E\x0027\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0064\x0061\x0074\x0061\x00"
  -    197               L"\x0049\x006C\x006C\x0065\x0067\x0061\x006C\x0020\x0073\x0065\x0071\x0075\x0065\x006E\x0063\x0065\x0020\x0027\x002D\x002D\x0027\x0020\x0069\x006E\x0020\x0063\x006F\x006D\x006D\x0065\x006E\x0074\x00"
  -    198               L"\x0055\x006E\x0074\x0065\x0072\x006D\x0069\x006E\x0061\x0074\x0065\x0064\x0020\x0043\x0044\x0041\x0054\x0041\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x00"
  -    199               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x004E\x0044\x0041\x0054\x0041\x00"
  -    200               L"\x004E\x0044\x0041\x0054\x0041\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0066\x006F\x0072\x0020\x0070\x0061\x0072\x0061\x006D\x0065\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x00"
  -    201               L"\x0048\x0065\x0078\x0020\x0072\x0061\x0064\x0069\x0078\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0072\x0065\x0066\x0073\x0020\x006D\x0075\x0073\x0074\x0020\x0075\x0073\x0065\x0020\x0027\x0078\x0027\x002C\x0020\x006E\x006F\x0074\x0020\x0027\x0058\x0027\x00"
  -    202               L"\x0027\x007B\x0030\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x0061\x006C\x0072\x0065\x0061\x0064\x0079\x0020\x0062\x0065\x0065\x006E\x0020\x0073\x0065\x0074\x002E\x0020\x0049\x0067\x006E\x006F\x0072\x0069\x006E\x0067\x0020\x0072\x0065\x0064\x0075\x006E\x0064\x0061\x006E\x0074\x0020\x0073\x0065\x0074\x0074\x0069\x006E\x0067\x00"
  -    203               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0073\x0020\x006D\x0075\x0073\x0074\x0020\x0062\x0065\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x006F\x0072\x0064\x0065\x0072\x003A\x0020\x0076\x0065\x0072\x0073\x0069\x006F\x006E\x002C\x0020\x0065\x006E\x0063\x006F\x0064\x0069\x006E\x0067\x002C\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x00"
  -    204               L"\x0045\x0078\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0072\x0065\x0066\x0065\x0072\x0072\x0065\x0064\x0020\x0074\x006F\x0020\x0066\x0072\x006F\x006D\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0076\x0061\x006C\x0075\x0065\x0073\x00"
  -    205               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0020\x006F\x0072\x0020\x0054\x0065\x0078\x0074\x0020\x0064\x0065\x0063\x006C\x0020\x006D\x0075\x0073\x0074\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0077\x0069\x0074\x0068\x0020\x0027\x003C\x003F\x0078\x006D\x006C\x0020\x0027\x002C\x0020\x006E\x006F\x0074\x0020\x0027\x003C\x003F\x0058\x004D\x004C\x0020\x0027\x00"
  -    206               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x006C\x0069\x0074\x0065\x0072\x0061\x006C\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x0076\x0061\x006C\x0075\x0065\x0020\x006F\x0072\x0020\x0050\x0055\x0042\x004C\x0049\x0043\x002F\x0053\x0059\x0053\x0054\x0045\x004D\x0020\x0069\x0064\x00"
  -    207               L"\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x0020\x0076\x0061\x006C\x0069\x0064\x0020\x0064\x0069\x0067\x0069\x0074\x0020\x0066\x006F\x0072\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0064\x0069\x0063\x0061\x0074\x0065\x0064\x0020\x0072\x0061\x0064\x0069\x0078\x00"
  -    208               L"\x0054\x0068\x0065\x0020\x0069\x006E\x0070\x0075\x0074\x0020\x0065\x006E\x0064\x0065\x0064\x0020\x0062\x0065\x0066\x006F\x0072\x0065\x0020\x0061\x006C\x006C\x0020\x0073\x0074\x0061\x0072\x0074\x0065\x0064\x0020\x0074\x0061\x0067\x0073\x0020\x0077\x0065\x0072\x0065\x0020\x0065\x006E\x0064\x0065\x0064\x002E\x0020\x004C\x0061\x0073\x0074\x0020\x0074\x0061\x0067\x0020\x0073\x0074\x0061\x0072\x0074\x0065\x0064\x0020\x0077\x0061\x0073\x0020\x0027\x007B\x0030\x007D\x0027\x00"
  -    209               L"\x0054\x0068\x0065\x0020\x0063\x006F\x006E\x0074\x0065\x006E\x0074\x0020\x006D\x006F\x0064\x0065\x006C\x0020\x0066\x006F\x0072\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x0061\x006D\x0062\x0069\x0067\x0075\x006F\x0075\x0073\x00"
  -    210               L"\x004E\x0065\x0073\x0074\x0065\x0064\x0020\x0043\x0044\x0041\x0054\x0041\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x00"
  -    211               L"\x0054\x0068\x0065\x0020\x0070\x0072\x0065\x0066\x0069\x0078\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x006E\x006F\x0074\x0020\x0062\x0065\x0065\x006E\x0020\x006D\x0061\x0070\x0070\x0065\x0064\x0020\x0074\x006F\x0020\x0061\x006E\x0079\x0020\x0055\x0052\x0049\x00"
  -    212               L"\x0054\x0068\x0065\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0061\x006E\x0064\x0020\x0074\x0068\x0065\x0020\x0065\x006E\x0064\x0020\x0074\x0061\x0067\x0020\x0077\x0065\x0072\x0065\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x0064\x0069\x0066\x0066\x0065\x0072\x0065\x006E\x0074\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x00"
  -    213               L"\x0054\x0068\x0065\x0020\x006D\x0061\x0069\x006E\x0020\x0058\x004D\x004C\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0065\x006D\x0070\x0074\x0079\x00"
  -    214               L"\x0043\x0044\x0041\x0054\x0041\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x006F\x0075\x0074\x0073\x0069\x0064\x0065\x0020\x0074\x0068\x0065\x0020\x0072\x006F\x006F\x0074\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x00"
  -    215               L"\x004F\x006E\x006C\x0079\x0020\x006E\x0075\x006D\x0065\x0072\x0069\x0063\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x006F\x0072\x0020\x0073\x0070\x0065\x0063\x0069\x0061\x006C\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0068\x0065\x0072\x0065\x00"
  -    216               L"\x0047\x006F\x0074\x0020\x0061\x006E\x0020\x0075\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0074\x0072\x0061\x0069\x006C\x0069\x006E\x0067\x0020\x0073\x0075\x0072\x0072\x006F\x0067\x0061\x0074\x0065\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  -    217               L"\x004E\x006F\x0020\x0070\x0072\x006F\x0063\x0065\x0073\x0073\x0069\x006E\x0067\x0020\x0069\x006E\x0073\x0074\x0072\x0075\x0063\x0074\x0069\x006F\x006E\x0020\x0073\x0074\x0061\x0072\x0074\x0073\x0020\x0077\x0069\x0074\x0068\x0020\x0027\x0078\x006D\x006C\x0027\x00"
  -    218               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0020\x006F\x0072\x0020\x0054\x0065\x0078\x0074\x0020\x0064\x0065\x0063\x006C\x0061\x0072\x0061\x0074\x0069\x006F\x006E\x0020\x006D\x0075\x0073\x0074\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0061\x0074\x0020\x006C\x0069\x006E\x0065\x002F\x0063\x006F\x006C\x0075\x006D\x006E\x0020\x0031\x002F\x0031\x00"
  -    219               L"\x0054\x0068\x0065\x0020\x0027\x0076\x0065\x0072\x0073\x0069\x006F\x006E\x003D\x0027\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0020\x0069\x0073\x0020\x0072\x0065\x0071\x0075\x0069\x0072\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x006E\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x00"
  -    220               L"\x0054\x0068\x0065\x0020\x0027\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x003D\x0027\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0020\x0069\x0073\x0020\x006F\x006E\x006C\x0079\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x006D\x0061\x0069\x006E\x0020\x0058\x004D\x004C\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x00"
  -    221               L"\x0057\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x002C\x0020\x0061\x0020\x006E\x0061\x006D\x0065\x0020\x0063\x0061\x006E\x0020\x0068\x0061\x0076\x0065\x0020\x006F\x006E\x006C\x0079\x0020\x006F\x006E\x0065\x0020\x0063\x006F\x006C\x006F\x006E\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  -    222               L"\x0057\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x002C\x0020\x0074\x0068\x0065\x0020\x0063\x006F\x006C\x006F\x006E\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0074\x0068\x0065\x0020\x0066\x0069\x0072\x0073\x0074\x0020\x006F\x0072\x0020\x006C\x0061\x0073\x0074\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  -    223               L"\x0043\x006F\x006C\x006F\x006E\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0074\x0068\x0069\x0073\x0020\x006E\x0061\x006D\x0065\x0020\x0077\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x00"
  -    224               L"\x0041\x0020\x0073\x0079\x0073\x0074\x0065\x006D\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x0020\x006F\x0063\x0063\x0075\x0072\x0065\x0064\x0020\x0064\x0075\x0072\x0069\x006E\x0067\x0020\x0070\x0072\x006F\x0063\x0065\x0073\x0073\x0069\x006E\x0067\x00"
  -    225               L"\x0041\x006E\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x0020\x006F\x0063\x0063\x0075\x0072\x0065\x0064\x0021\x0020\x0054\x0079\x0070\x0065\x003A\x007B\x0030\x007D\x002C\x0020\x004D\x0065\x0073\x0073\x0061\x0067\x0065\x003A\x007B\x0031\x007D\x00"
  -    226               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0065\x006E\x0064\x0020\x006F\x0066\x0020\x0066\x0069\x006C\x0065\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x002E\x0020\x004D\x0065\x0073\x0073\x0061\x0067\x0065\x003A\x0020\x007B\x0030\x007D\x00"
  -    227               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0045\x0072\x0072\x006F\x0072\x00"
  -    228               L"\x0054\x0068\x0065\x0020\x0073\x0063\x0068\x0065\x006D\x0061\x004C\x006F\x0063\x0061\x0074\x0069\x006F\x006E\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0064\x006F\x0065\x0073\x0020\x006E\x006F\x0074\x0020\x0063\x006F\x006E\x0074\x0061\x0069\x006E\x0020\x0070\x0061\x0069\x0072\x0073\x0020\x006F\x0066\x0020\x0076\x0061\x006C\x0075\x0065\x0073\x002E\x00"
  -    229               L"\x0049\x006E\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0065\x0072\x0072\x006F\x0072\x003A\x0020\x0064\x006F\x006E\x0027\x0074\x0020\x0068\x0061\x0076\x0065\x0020\x0061\x0020\x0047\x0072\x0061\x006D\x006D\x0061\x0072\x0052\x0065\x0073\x006F\x006C\x0076\x0065\x0072\x0020\x0066\x006F\x0072\x0020\x0054\x0072\x0061\x0076\x0065\x0072\x0073\x0065\x0053\x0063\x0068\x0065\x006D\x0061\x00"
  +    179               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x006E\x0020\x006F\x0070\x0065\x006E\x0020\x0070\x0061\x0072\x0065\x006E\x0074\x0068\x0065\x0073\x0069\x0073\x00"
  +    180               L"\x0054\x0068\x0065\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x0061\x006C\x0072\x0065\x0061\x0064\x0079\x0020\x0075\x0073\x0065\x0064\x0020\x0069\x006E\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0031\x007D\x0027\x00"
  +    181               L"\x0041\x0020\x0027\x003C\x0027\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0075\x0073\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x002C\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0020\x0074\x0068\x0072\x006F\x0075\x0067\x0068\x0020\x0026\x006C\x0074\x003B\x00"
  +    182               L"\x0041\x0020\x006C\x0065\x0061\x0064\x0069\x006E\x0067\x0020\x0073\x0075\x0072\x0072\x006F\x0067\x0061\x0074\x0065\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0077\x0061\x0073\x0020\x006E\x006F\x0074\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0062\x0079\x0020\x0061\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0073\x0065\x0063\x006F\x006E\x0064\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  +    183               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0027\x005D\x005D\x003E\x0027\x0020\x0074\x006F\x0020\x0065\x006E\x0064\x0020\x0061\x0020\x0063\x006F\x006E\x0064\x0069\x0074\x0069\x006F\x006E\x0061\x006C\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x00"
  +    184               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0049\x004E\x0043\x004C\x0055\x0044\x0045\x0020\x006F\x0072\x0020\x0049\x0047\x004E\x004F\x0052\x0045\x0020\x0068\x0065\x0072\x0065\x00"
  +    185               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x005B\x0020\x0074\x006F\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0020\x0049\x004E\x0043\x004C\x0055\x0044\x0045\x0020\x006F\x0072\x0020\x0049\x0047\x004E\x004F\x0052\x0045\x00"
  +    186               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x0054\x0065\x0078\x0074\x0044\x0065\x0063\x006C\x0020\x0068\x0065\x0072\x0065\x003A\x0020\x003C\x003F\x0078\x006D\x006C\x0020\x002E\x002E\x002E\x002E\x00"
  +    187               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x0020\x0068\x0065\x0072\x0065\x003A\x0020\x003C\x003F\x0078\x006D\x006C\x0020\x002E\x002E\x002E\x002E\x00"
  +    188               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0065\x006E\x0064\x0020\x006F\x0066\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x007B\x0030\x007D\x00"
  +    189               L"\x0041\x0020\x0050\x0045\x0020\x0070\x0072\x006F\x0070\x006F\x0067\x0061\x0074\x0065\x0064\x0020\x006F\x0075\x0074\x0020\x006F\x0066\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0074\x002F\x0065\x0078\x0074\x0020\x0073\x0075\x0062\x0073\x0065\x0074\x002C\x0020\x0064\x0069\x0073\x0063\x0061\x0072\x0064\x0069\x006E\x0067\x0020\x0065\x0078\x0074\x0072\x0061\x0020\x0074\x0065\x0078\x0074\x00"
  +    190               L"\x0041\x006E\x0020\x0065\x0078\x0074\x0072\x0061\x0020\x005D\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0077\x0061\x0073\x0020\x0066\x006F\x0075\x006E\x0064\x0020\x0061\x006E\x0020\x0069\x0067\x006E\x006F\x0072\x0065\x0064\x00"
  +    191               L"\x0050\x0045\x0020\x0072\x0065\x0066\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0073\x0069\x0064\x0065\x0020\x006D\x0061\x0072\x006B\x0075\x0070\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0073\x0075\x0062\x0073\x0065\x0074\x00"
  +    192               L"\x0041\x006E\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x0070\x0072\x006F\x0070\x006F\x0067\x0061\x0074\x0065\x0064\x0020\x006F\x0075\x0074\x0020\x006F\x0066\x0020\x0074\x0068\x0065\x0020\x0063\x006F\x006E\x0074\x0065\x006E\x0074\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x0020\x0069\x006E\x0074\x006F\x0020\x004D\x0069\x0073\x0063\x0065\x006C\x006C\x0061\x006E\x0065\x006F\x0075\x0073\x00"
  +    193               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0026\x0023\x0020\x0074\x006F\x0020\x0062\x0065\x0020\x0066\x006F\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0062\x0079\x0020\x0061\x0020\x006E\x0075\x006D\x0065\x0072\x0069\x0063\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0076\x0061\x006C\x0075\x0065\x00"
  +    194               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x006E\x0020\x006F\x0070\x0065\x006E\x0020\x0062\x0072\x0061\x0063\x006B\x0065\x0074\x0020\x0028\x0027\x005B\x0027\x0029\x0020\x0068\x0065\x0072\x0065\x00"
  +    195               L"\x0054\x0068\x0065\x0020\x0073\x0065\x0071\x0075\x0065\x006E\x0063\x0065\x0020\x0027\x005D\x005D\x003E\x0027\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0064\x0061\x0074\x0061\x00"
  +    196               L"\x0049\x006C\x006C\x0065\x0067\x0061\x006C\x0020\x0073\x0065\x0071\x0075\x0065\x006E\x0063\x0065\x0020\x0027\x002D\x002D\x0027\x0020\x0069\x006E\x0020\x0063\x006F\x006D\x006D\x0065\x006E\x0074\x00"
  +    197               L"\x0055\x006E\x0074\x0065\x0072\x006D\x0069\x006E\x0061\x0074\x0065\x0064\x0020\x0043\x0044\x0041\x0054\x0041\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x00"
  +    198               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x004E\x0044\x0041\x0054\x0041\x00"
  +    199               L"\x004E\x0044\x0041\x0054\x0041\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0066\x006F\x0072\x0020\x0070\x0061\x0072\x0061\x006D\x0065\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x00"
  +    200               L"\x0048\x0065\x0078\x0020\x0072\x0061\x0064\x0069\x0078\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0072\x0065\x0066\x0073\x0020\x006D\x0075\x0073\x0074\x0020\x0075\x0073\x0065\x0020\x0027\x0078\x0027\x002C\x0020\x006E\x006F\x0074\x0020\x0027\x0058\x0027\x00"
  +    201               L"\x0027\x007B\x0030\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x0061\x006C\x0072\x0065\x0061\x0064\x0079\x0020\x0062\x0065\x0065\x006E\x0020\x0073\x0065\x0074\x002E\x0020\x0049\x0067\x006E\x006F\x0072\x0069\x006E\x0067\x0020\x0072\x0065\x0064\x0075\x006E\x0064\x0061\x006E\x0074\x0020\x0073\x0065\x0074\x0074\x0069\x006E\x0067\x00"
  +    202               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0073\x0020\x006D\x0075\x0073\x0074\x0020\x0062\x0065\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x006F\x0072\x0064\x0065\x0072\x003A\x0020\x0076\x0065\x0072\x0073\x0069\x006F\x006E\x002C\x0020\x0065\x006E\x0063\x006F\x0064\x0069\x006E\x0067\x002C\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x00"
  +    203               L"\x0045\x0078\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0072\x0065\x0066\x0065\x0072\x0072\x0065\x0064\x0020\x0074\x006F\x0020\x0066\x0072\x006F\x006D\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0076\x0061\x006C\x0075\x0065\x0073\x00"
  +    204               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0020\x006F\x0072\x0020\x0054\x0065\x0078\x0074\x0020\x0064\x0065\x0063\x006C\x0020\x006D\x0075\x0073\x0074\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0077\x0069\x0074\x0068\x0020\x0027\x003C\x003F\x0078\x006D\x006C\x0020\x0027\x002C\x0020\x006E\x006F\x0074\x0020\x0027\x003C\x003F\x0058\x004D\x004C\x0020\x0027\x00"
  +    205               L"\x0045\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0061\x0020\x006C\x0069\x0074\x0065\x0072\x0061\x006C\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x0076\x0061\x006C\x0075\x0065\x0020\x006F\x0072\x0020\x0050\x0055\x0042\x004C\x0049\x0043\x002F\x0053\x0059\x0053\x0054\x0045\x004D\x0020\x0069\x0064\x00"
  +    206               L"\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x0020\x0076\x0061\x006C\x0069\x0064\x0020\x0064\x0069\x0067\x0069\x0074\x0020\x0066\x006F\x0072\x0020\x0074\x0068\x0065\x0020\x0069\x006E\x0064\x0069\x0063\x0061\x0074\x0065\x0064\x0020\x0072\x0061\x0064\x0069\x0078\x00"
  +    207               L"\x0054\x0068\x0065\x0020\x0069\x006E\x0070\x0075\x0074\x0020\x0065\x006E\x0064\x0065\x0064\x0020\x0062\x0065\x0066\x006F\x0072\x0065\x0020\x0061\x006C\x006C\x0020\x0073\x0074\x0061\x0072\x0074\x0065\x0064\x0020\x0074\x0061\x0067\x0073\x0020\x0077\x0065\x0072\x0065\x0020\x0065\x006E\x0064\x0065\x0064\x002E\x0020\x004C\x0061\x0073\x0074\x0020\x0074\x0061\x0067\x0020\x0073\x0074\x0061\x0072\x0074\x0065\x0064\x0020\x0077\x0061\x0073\x0020\x0027\x007B\x0030\x007D\x0027\x00"
  +    208               L"\x0054\x0068\x0065\x0020\x0063\x006F\x006E\x0074\x0065\x006E\x0074\x0020\x006D\x006F\x0064\x0065\x006C\x0020\x0066\x006F\x0072\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x0061\x006D\x0062\x0069\x0067\x0075\x006F\x0075\x0073\x00"
  +    209               L"\x004E\x0065\x0073\x0074\x0065\x0064\x0020\x0043\x0044\x0041\x0054\x0041\x0020\x0073\x0065\x0063\x0074\x0069\x006F\x006E\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x00"
  +    210               L"\x0054\x0068\x0065\x0020\x0070\x0072\x0065\x0066\x0069\x0078\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x006E\x006F\x0074\x0020\x0062\x0065\x0065\x006E\x0020\x006D\x0061\x0070\x0070\x0065\x0064\x0020\x0074\x006F\x0020\x0061\x006E\x0079\x0020\x0055\x0052\x0049\x00"
  +    211               L"\x0054\x0068\x0065\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0061\x006E\x0064\x0020\x0074\x0068\x0065\x0020\x0065\x006E\x0064\x0020\x0074\x0061\x0067\x0020\x0077\x0065\x0072\x0065\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x0064\x0069\x0066\x0066\x0065\x0072\x0065\x006E\x0074\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x00"
  +    212               L"\x0054\x0068\x0065\x0020\x006D\x0061\x0069\x006E\x0020\x0058\x004D\x004C\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0065\x006D\x0070\x0074\x0079\x00"
  +    213               L"\x0043\x0044\x0041\x0054\x0041\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x006F\x0075\x0074\x0073\x0069\x0064\x0065\x0020\x0074\x0068\x0065\x0020\x0072\x006F\x006F\x0074\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x00"
  +    214               L"\x004F\x006E\x006C\x0079\x0020\x006E\x0075\x006D\x0065\x0072\x0069\x0063\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x006F\x0072\x0020\x0073\x0070\x0065\x0063\x0069\x0061\x006C\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x0020\x0065\x006E\x0074\x0069\x0074\x0069\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x006C\x0065\x0067\x0061\x006C\x0020\x0068\x0065\x0072\x0065\x00"
  +    215               L"\x0047\x006F\x0074\x0020\x0061\x006E\x0020\x0075\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0074\x0072\x0061\x0069\x006C\x0069\x006E\x0067\x0020\x0073\x0075\x0072\x0072\x006F\x0067\x0061\x0074\x0065\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  +    216               L"\x004E\x006F\x0020\x0070\x0072\x006F\x0063\x0065\x0073\x0073\x0069\x006E\x0067\x0020\x0069\x006E\x0073\x0074\x0072\x0075\x0063\x0074\x0069\x006F\x006E\x0020\x0073\x0074\x0061\x0072\x0074\x0073\x0020\x0077\x0069\x0074\x0068\x0020\x0027\x0078\x006D\x006C\x0027\x00"
  +    217               L"\x0054\x0068\x0065\x0020\x0058\x004D\x004C\x0020\x006F\x0072\x0020\x0054\x0065\x0078\x0074\x0020\x0064\x0065\x0063\x006C\x0061\x0072\x0061\x0074\x0069\x006F\x006E\x0020\x006D\x0075\x0073\x0074\x0020\x0073\x0074\x0061\x0072\x0074\x0020\x0061\x0074\x0020\x006C\x0069\x006E\x0065\x002F\x0063\x006F\x006C\x0075\x006D\x006E\x0020\x0031\x002F\x0031\x00"
  +    218               L"\x0054\x0068\x0065\x0020\x0027\x0076\x0065\x0072\x0073\x0069\x006F\x006E\x003D\x0027\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0020\x0069\x0073\x0020\x0072\x0065\x0071\x0075\x0069\x0072\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x006E\x0020\x0058\x004D\x004C\x0044\x0065\x0063\x006C\x00"
  +    219               L"\x0054\x0068\x0065\x0020\x0027\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x003D\x0027\x0020\x0073\x0074\x0072\x0069\x006E\x0067\x0020\x0069\x0073\x0020\x006F\x006E\x006C\x0079\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0074\x0068\x0065\x0020\x006D\x0061\x0069\x006E\x0020\x0058\x004D\x004C\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x00"
  +    220               L"\x0057\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x002C\x0020\x0061\x0020\x006E\x0061\x006D\x0065\x0020\x0063\x0061\x006E\x0020\x0068\x0061\x0076\x0065\x0020\x006F\x006E\x006C\x0079\x0020\x006F\x006E\x0065\x0020\x0063\x006F\x006C\x006F\x006E\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  +    221               L"\x0057\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x002C\x0020\x0074\x0068\x0065\x0020\x0063\x006F\x006C\x006F\x006E\x0020\x0063\x0061\x006E\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0074\x0068\x0065\x0020\x0066\x0069\x0072\x0073\x0074\x0020\x006F\x0072\x0020\x006C\x0061\x0073\x0074\x0020\x0063\x0068\x0061\x0072\x0061\x0063\x0074\x0065\x0072\x00"
  +    222               L"\x0043\x006F\x006C\x006F\x006E\x0073\x0020\x0061\x0072\x0065\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0074\x0068\x0069\x0073\x0020\x006E\x0061\x006D\x0065\x0020\x0077\x0068\x0065\x006E\x0020\x006E\x0061\x006D\x0065\x0073\x0070\x0061\x0063\x0065\x0073\x0020\x0061\x0072\x0065\x0020\x0065\x006E\x0061\x0062\x006C\x0065\x0064\x00"
  +    223               L"\x0041\x0020\x0073\x0079\x0073\x0074\x0065\x006D\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x0020\x006F\x0063\x0063\x0075\x0072\x0065\x0064\x0020\x0064\x0075\x0072\x0069\x006E\x0067\x0020\x0070\x0072\x006F\x0063\x0065\x0073\x0073\x0069\x006E\x0067\x00"
  +    224               L"\x0041\x006E\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x0020\x006F\x0063\x0063\x0075\x0072\x0065\x0064\x0021\x0020\x0054\x0079\x0070\x0065\x003A\x007B\x0030\x007D\x002C\x0020\x004D\x0065\x0073\x0073\x0061\x0067\x0065\x003A\x007B\x0031\x007D\x00"
  +    225               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0020\x0065\x006E\x0064\x0020\x006F\x0066\x0020\x0066\x0069\x006C\x0065\x0020\x0065\x0078\x0063\x0065\x0070\x0074\x0069\x006F\x006E\x002E\x0020\x004D\x0065\x0073\x0073\x0061\x0067\x0065\x003A\x0020\x007B\x0030\x007D\x00"
  +    226               L"\x0055\x006E\x0065\x0078\x0070\x0065\x0063\x0074\x0065\x0064\x0045\x0072\x0072\x006F\x0072\x00"
  +    227               L"\x0054\x0068\x0065\x0020\x0073\x0063\x0068\x0065\x006D\x0061\x004C\x006F\x0063\x0061\x0074\x0069\x006F\x006E\x0020\x0061\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0064\x006F\x0065\x0073\x0020\x006E\x006F\x0074\x0020\x0063\x006F\x006E\x0074\x0061\x0069\x006E\x0020\x0070\x0061\x0069\x0072\x0073\x0020\x006F\x0066\x0020\x0076\x0061\x006C\x0075\x0065\x0073\x002E\x00"
  +    228               L"\x0049\x006E\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0065\x0072\x0072\x006F\x0072\x003A\x0020\x0064\x006F\x006E\x0027\x0074\x0020\x0068\x0061\x0076\x0065\x0020\x0061\x0020\x0047\x0072\x0061\x006D\x006D\x0061\x0072\x0052\x0065\x0073\x006F\x006C\x0076\x0065\x0072\x0020\x0066\x006F\x0072\x0020\x0054\x0072\x0061\x0076\x0065\x0072\x0073\x0065\x0053\x0063\x0068\x0065\x006D\x0061\x00"
   END
   STRINGTABLE DISCARDABLE
   BEGIN
  @@ -413,6 +414,11 @@
       16463             L"\x0053\x0063\x0068\x0065\x006D\x0061\x0020\x0065\x0072\x0072\x006F\x0072\x0020\x0064\x0075\x0072\x0069\x006E\x0067\x0020\x0070\x0061\x0072\x0073\x0069\x006E\x0067\x00"
       16464             L"\x0045\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0073\x0068\x006F\x0075\x006C\x0064\x0020\x0062\x0065\x0020\x0071\x0075\x0061\x006C\x0069\x0066\x0069\x0065\x0064\x00"
       16465             L"\x0045\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0073\x0068\x006F\x0075\x006C\x0064\x0020\x0062\x0065\x0020\x0075\x006E\x002D\x0071\x0075\x0061\x006C\x0069\x0066\x0069\x0065\x0064\x00"
  +    16466             L"\x0052\x0065\x0066\x0065\x0072\x0065\x006E\x0063\x0065\x0020\x0074\x006F\x0020\x0065\x0078\x0074\x0065\x0072\x006E\x0061\x006C\x0020\x0065\x006E\x0074\x0069\x0074\x0079\x0020\x0064\x0065\x0063\x006C\x0061\x0072\x0061\x0074\x0069\x006F\x006E\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0069\x0073\x0020\x006E\x006F\x0074\x0020\x0061\x006C\x006C\x006F\x0077\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x002E\x00"
  +    16467             L"\x0041\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0066\x006F\x0072\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0027\x007B\x0031\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x0061\x0020\x0064\x0065\x0066\x0061\x0075\x006C\x0074\x0020\x0076\x0061\x006C\x0075\x0065\x0020\x0061\x006E\x0064\x0020\x006D\x0075\x0073\x0074\x0020\x0062\x0065\x0020\x0073\x0070\x0065\x0063\x0069\x0066\x0069\x0065\x0064\x0020\x0069\x006E\x0020\x0061\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x002E\x00"
  +    16468             L"\x0041\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x006D\x0075\x0073\x0074\x0020\x006E\x006F\x0074\x0020\x0062\x0065\x0020\x0063\x0068\x0061\x006E\x0067\x0065\x0064\x0020\x0062\x0079\x0020\x006E\x006F\x0072\x006D\x0061\x006C\x0069\x007A\x0061\x0074\x0069\x006F\x006E\x0020\x0069\x006E\x0020\x0061\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x002E\x00"
  +    16469             L"\x0057\x0068\x0069\x0074\x0065\x0020\x0073\x0070\x0061\x0063\x0065\x0020\x006D\x0075\x0073\x0074\x0020\x006E\x006F\x0074\x0020\x006F\x0063\x0063\x0075\x0072\x0020\x0062\x0065\x0074\x0077\x0065\x0065\x006E\x0020\x0065\x0078\x0074\x0065\x0072\x006E\x0061\x006C\x006C\x0079\x0020\x0064\x0065\x0063\x006C\x0061\x0072\x0065\x0064\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0073\x0020\x0077\x0069\x0074\x0068\x0020\x0065\x006C\x0065\x006D\x0065\x006E\x0074\x0020\x0063\x006F\x006E\x0074\x0065\x006E\x0074\x0020\x0069\x006E\x0020\x0061\x0020\x0073\x0074\x0061\x006E\x0064\x0061\x006C\x006F\x006E\x0065\x0020\x0064\x006F\x0063\x0075\x006D\x0065\x006E\x0074\x002E\x00"
  +    16470             L"\x0045\x006E\x0074\x0069\x0074\x0079\x0020\x0027\x007B\x0030\x007D\x0027\x0020\x0077\x0061\x0073\x0020\x006E\x006F\x0074\x0020\x0066\x006F\x0075\x006E\x0064\x00"
   END
   STRINGTABLE DISCARDABLE
   BEGIN
  
  
  
  1.12      +19 -9     xml-xerces/c/src/validators/DTD/DTDScanner.cpp
  
  Index: DTDScanner.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/DTD/DTDScanner.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DTDScanner.cpp	2001/06/25 14:39:54	1.11
  +++ DTDScanner.cpp	2001/07/05 13:12:19	1.12
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: DTDScanner.cpp,v $
  + * Revision 1.12  2001/07/05 13:12:19  tng
  + * Standalone checking is validity constraint and thus should be just error, not fatal error:
  + *
    * Revision 1.11  2001/06/25 14:39:54  knoaman
    * Fix bug #965 - submitted by Matt Lovett
    *
  @@ -204,6 +207,7 @@
       if (!fReaderMgr->skippedChar(chPercent))
          return gotSpace;
   
  +    fScanner->setHasNoDTD(false);
       while (true)
       {
          if (!expandPERef(false, inLiteral, inMarkup, throwAtEndExt))
  @@ -253,9 +257,10 @@
       //  emit an error and continue.
       //
       XMLEntityDecl* decl = fPEntityDeclPool->getByKey(bbName.getRawBuffer());
  -    if (!decl)
  +    if (!decl && fScanner->getDoValidation())
       {
  -        fScanner->emitError(XMLErrs::EntityNotFound, bbName.getRawBuffer());
  +        // XML 1.0 Section 4.1
  +        fScanner->getValidator()->emitError(XMLValid::VC_EntityNotFound, bbName.getRawBuffer());
           return false;
       }
   
  @@ -263,8 +268,8 @@
       //  If we are a standalone document, then it has to have been declared
       //  in the internal subset. Keep going though.
       //
  -    if (fScanner->getStandalone() && !decl->getDeclaredInIntSubset())
  -        fScanner->emitError(XMLErrs::IllegalRefInStandalone, bbName.getRawBuffer());
  +    if (fScanner->getDoValidation() && fScanner->getStandalone() && !decl->getDeclaredInIntSubset())
  +        fScanner->getValidator()->emitError(XMLValid::IllegalRefInStandalone, bbName.getRawBuffer());
   
       //
       //  Okee dokee, we found it. So create either a memory stream with
  @@ -1646,6 +1651,7 @@
       {
           // Indicate we have an external subset
           hasExtSubset = true;
  +        fScanner->setHasNoDTD(false);
   
           // Get buffers for the ids
           XMLBufBid bbPubId(fBufMgr);
  @@ -1852,13 +1858,15 @@
           //  the decl pool.
           //
           decl = new DTDElementDecl(bbName.getRawBuffer(), fEmptyNamespaceId);
  -        decl->setExternalElemDeclaration(isReadingExternalEntity());
           fDTDGrammar->putElemDecl(decl);
       }
   
       // Set a flag for whether we will ignore this one
       const bool isIgnored = (decl == fDumElemDecl);
   
  +    // Mark this one if being externally declared
  +    decl->setExternalElemDeclaration(isReadingExternalEntity());
  +
       // Mark this one as being declared
       decl->setCreateReason(XMLElementDecl::Declared);
   
  @@ -2092,18 +2100,20 @@
       XMLEntityDecl* decl = fEntityDeclPool->getByKey(bbName.getRawBuffer());
   
       // If it does not exist, then obviously an error
  -    if (!decl)
  +    if (!decl && fScanner->getDoValidation())
       {
  -        fScanner->emitError(XMLErrs::EntityNotFound, bbName.getRawBuffer());
  +        // XML 1.0 Section 4.1
  +        fScanner->getValidator()->emitError(XMLValid::VC_EntityNotFound, bbName.getRawBuffer());
           return EntityExp_Failed;
       }
   
  +
       //
       //  If we are a standalone document, then it has to have been declared
       //  in the internal subset. Keep going though.
       //
  -    if (fScanner->getStandalone() && !decl->getDeclaredInIntSubset())
  -        fScanner->emitError(XMLErrs::IllegalRefInStandalone, bbName.getRawBuffer());
  +    if (fScanner->getDoValidation() && fScanner->getStandalone() && !decl->getDeclaredInIntSubset())
  +        fScanner->getValidator()->emitError(XMLValid::IllegalRefInStandalone, bbName.getRawBuffer());
   
       //
       //  If its a special char reference, then its escaped and we can return
  
  
  

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