[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
