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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/10/25 16:53:55 UTC

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

     [ http://issues.apache.org/jira/browse/XERCESC-1479?page=all ]
     
Alberto Massari resolved XERCESC-1479:
--------------------------------------

    Resolution: Fixed

A fix is in SVN; please verify

> DOM(Attr/Element) PSVI type info interface isSupported/getInterface
> -------------------------------------------------------------------
>
>          Key: XERCESC-1479
>          URL: http://issues.apache.org/jira/browse/XERCESC-1479
>      Project: Xerces-C++
>         Type: Improvement
>   Components: DOM
>     Reporter: Tobias Schuette
>     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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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