You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2018/03/12 03:35:00 UTC

[jira] [Assigned] (XERCESC-1479) DOM(Attr/Element) PSVI type info interface isSupported/getInterface

     [ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org