[
https://issues.apache.org/jira/browse/XERCESC-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor reassigned XERCESC-1479:
-------------------------------------
Assignee: Alberto Massari
> DOM(Attr/Element) PSVI type info interface isSupported/getInterface
> -------------------------------------------------------------------
>
> Key: XERCESC-1479
> URL: https://issues.apache.org/jira/browse/XERCESC-1479
> Project: Xerces-C++
> Issue Type: Improvement
> Components: DOM
> Reporter: Tobias Schuette
> Assignee: Alberto Massari
> Priority: Trivial
>
> in xercesc/dom/impl/DOM(Attr/ElementNS)Impl.cpp queries for the
> "DOMPSVITypeInfo" feature interface are processed by returning the proper
> const xercesc::PSVIItem*.
> To check interface existence the coresponding call to
> DOM(Attr/ElementNS)Impl::isSupported("+DOMPSVITypeInfo", NULL) should return
> true, which is actually returning false, because calls are redirected to
> xercesc::DOMImplementation::hasFeature.
> note the requirement of the "+" before the "DOMPSVITypeInfo" in the call to
> DOM(Attr/ElementNS)Impl::isSupported("+DOMPSVITypeInfo", ...) which is
> required because xercesc::PSVIItem doesn't implement the xercesc::DOMNode
> interface as described in DOM3->Core->DOM Features.
> calls to DOM(Attr/ElementNS)Impl::isSupported("DOMPSVITypeInfo", ...) without
> "+" should continue returning false;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]