You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Jeff Martin <je...@dial.pipex.com> on 2000/02/11 20:27:01 UTC
bug in action uri
Apologise if I've already sent this
In org.apache.xml.serialize.HTMLdtd there is this bit of code. As far as I
can see "action" should also be a URI as it's used in the FORM html element
as the sumbmition URI
public static boolean isURI( String tagName, String attrName ) {
// Stupid checks. return ( attrName.equalsIgnoreCase( "href" ) ||
attrName.equalsIgnoreCase( "src" ) );
}
Becomes
public static boolean isURI( String tagName, String attrName )
// Stupid checks. return ( attrName.equalsIgnoreCase( "href" ) ||
attrName.equalsIgnoreCase( "src" ) ||
attrName.equalsIgnoreCase( "action" ) );
}