[ https://issues.apache.org/jira/browse/XERCESC-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gal Yaroslavsky updated XERCESC-2090: ------------------------------------- Summary: Incorrect Parsing of NOTATION declarations (was: NOTATION declarations are ) > Incorrect Parsing of NOTATION declarations > ------------------------------------------ > > Key: XERCESC-2090 > URL: https://issues.apache.org/jira/browse/XERCESC-2090 > Project: Xerces-C++ > Issue Type: Bug > Components: DOM, Non-Validating Parser > Affects Versions: 3.1.4 > Reporter: Gal Yaroslavsky > Priority: Minor > Labels: processing, specification > Attachments: AbstractDOMParser.cpp > > Original Estimate: 8h > Remaining Estimate: 8h > > Notation declarations are incorrectly processed/output by > AbstractDomParser::notationDecl > XML spec. does not support both PUBLIC and SYSTEM keywords in the same > notation declaration. The presence of PUBLIC implies a system notation so the > the SYSTEM keyword is redundant and thus not valid. However, the function > (AbstractDomParser::notationDecl) ignores this constraint and outputs the > SYSTEM keyword even if PUBLIC keyword was already printed. > Attached is a proposed fix (see lines 1667-1697). -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org