dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java
protected void
    passReserved(Node node, DapNode dap)
            throws ParseException
    {
        try {
            NamedNodeMap attrs = node.getAttributes();
            for(int i = 0; i < attrs.getLength(); i++) {
                Node n = attrs.item(i);
                String key = n.getNodeName();
                String value = n.getNodeValue();
                if(isReserved(key))
                    dap.addXMLAttribute(key, value);
            }
        } catch (DapException de) {
            throw new ParseException(de);
        }
    }
protected void
    passReserved(Node node, DapNode dap)
            throws ParseException
    {
        try {
            NamedNodeMap attrs = node.getAttributes();
            for(int i = 0; i < attrs.getLength(); i++) {
                Node n = attrs.item(i);
                String key = n.getNodeName();
                String value = n.getNodeValue();
                if(isReserved(key))
                    dap.addXMLAttribute(key, value);
            }
        } catch (DapException de) {
            throw new ParseException(de);
        }
    }
protected void passReserved ( Node node , DapNode dap ) throws ParseException { try { NamedNodeMap attrs = node . getAttributes ( ) ; for ( int i = 0 ; i < attrs . getLength ( ) ; i ++ ) { Node n = attrs . item ( i ) ; String key = n . getNodeName ( ) ; String value = n . getNodeValue ( ) ; if ( isReserved ( key ) ) dap . addXMLAttribute ( key , value ) ; } } catch ( DapException de ) { throw new ParseException ( de ) ; } }
Pass reserved xml attributes unchanged

@param node
@param dap
@throws ParseException
Pass reserved xml attributes unchanged