[ 
https://issues.apache.org/jira/browse/XERCESJ-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold resolved XERCESJ-1740.
--------------------------------------------
    Resolution: Won't Do

Isn't this a request to change or add to DOM Level 3 core?

 
https://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-DOMImplementationList

Is this something that would need to go into the DOM spec?

Even if it doesn't, changes to these interfaces that were Java-only would 
certainly have to be synced with the OpenJDK or JCP or something. (I'm not up 
to date on how core Java is defined these days.) 

It's certainly not a change Xerces could or should make unilaterally. 

> Make implementations of DOM collections (e.g.: `org.w3c.dom.NodeList`, etc.) 
> implement `java.lang.Iterable`
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1740
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1740
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: DOM (HTML), DOM (Level 3 Core)
>    Affects Versions: 2.12.2
>            Reporter: ExE Boss
>            Priority: Major
>
> Make the classes that implement the following DOM collection interfaces also 
> implement implement 
> [{{java.lang.Iterable}}|https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Iterable.html]
>  with the {{T}} type parameter being set to the return type of the 
> {{item(int)}} method:
> - 
> [{{org.w3c.dom.DOMImplementationList}}|https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/org/w3c/dom/DOMImplementationList.html]
> - 
> [{{org.w3c.dom.DOMStringList}}|https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/org/w3c/dom/DOMStringList.html]
> - 
> [{{org.w3c.dom.NamedNodeMap}}|https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/org/w3c/dom/NamedNodeMap.html]
> - 
> [{{org.w3c.dom.NodeList}}|https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/org/w3c/dom/NodeList.html]
> - 
> [{{org.w3c.dom.html.HTMLCollection}}|https://docs.oracle.com/en/java/javase/17/docs/api/jdk.xml.dom/org/w3c/dom/html/HTMLCollection.html]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to