DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14996>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14996 Unproper condition ? Summary: Unproper condition ? Product: Xerces-C++ Version: Nightly build (please specify the date) Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Validating Parser (DTD) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] File: \xercesc\internal\XMLScanner.cpp Line: 2461 We cannot have an internal subset whn reusing a grammar (fUseCachedGrammar) fToCacheGrammar flag instructs the parser to cache the grammar (for later reusing). So the following condition is incorrect: // We can't have any internal subset if we are reusing the validator if (fUseCachedGrammar || fToCacheGrammar) ThrowXML(RuntimeException, XMLExcepts::Val_CantHaveIntSS); Proposed patch: // We can't have any internal subset if we are reusing the validator if (fUseCachedGrammar) ThrowXML(RuntimeException, XMLExcepts::Val_CantHaveIntSS); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
