/src/main/java/org/htmlunit/util/XmlUtils.java
final int orderedIndex = Platform.getIndex( attributesMap, attributesOrderMap, i) ;
final int orderedIndex = Platform.getIndex ( attributesMap, attributesOrderMap, element, i ) ;
} private static Attributes namedNodeMapToSaxAttributes(final NamedNodeMap attributesMap, final Map<Integer, List<String>> attributesOrderMap, final Node element) { final AttributesImpl attributes = new AttributesImpl(); final int length = attributesMap.getLength(); for (int i = 0; i < length; i++) { <extra_id_0> final Node attr = attributesMap.item(orderedIndex); attributes.addAttribute(attr.getNamespaceURI(), attr.getLocalName(), attr.getNodeName(), null, attr.getNodeValue()); } return attributes; }