[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Commented: (XERCESC-1525) iterator method hasMoreElements of the class XMLAttDefList not work
From:       "Alberto Massari (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2005-11-16 13:08:29
Message-ID: 1978378242.1132146509531.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

    [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic