question: public static boolean isURI ( String tagName , String attrName ) { return ( attrName . equalsIgnoreCase ( "href" ) || attrName . equalsIgnoreCase ( "src" ) ) ; }
target:  Returns true if the specified attribute it a URI and should be escaped appropriately. In HTML URIs are escaped differently than normal attributes.