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/11/16 14:08:29 UTC
[jira] Commented: (XERCESC-1525) iterator method hasMoreElements of the class XMLAttDefList not working
[ http://issues.apache.org/jira/browse/XERCESC-1525?page=comments#action_12357776 ]
Alberto Massari commented on XERCESC-1525:
------------------------------------------
You have done the right thing abandoning the nextElement API, as it has been declared deprecated (it's not thread safe, as in the case the list of attributes comes from a shared grammar, its state would be shared and manipulated by multiple threads)
So, what you are seeing could be the expected result, or a bug: could you attach a testcase to reproduce the problem?
Thanks,
Alberto
> iterator method hasMoreElements of the class XMLAttDefList not working
> ----------------------------------------------------------------------
>
> Key: XERCESC-1525
> URL: http://issues.apache.org/jira/browse/XERCESC-1525
> Project: Xerces-C++
> Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Versions: 2.7.0
> Environment: linux
> Reporter: liqing xu
>
> Iterator method hasMoreElements of the class XMLAttDefList is not working in 2.7. It seems that it always return false. It works in
> previous version. Now I have to use getAttDef method instead of nextElement method.
--
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