Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tags
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7192/src/org/htmlparser/tags
Modified Files:
MetaTag.java
Log Message:
Incorporate patch #1004985 Page.java, by making getCharset() and findCharset() static.
Index: MetaTag.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tags/MetaTag.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** MetaTag.java 2 Jul 2004 00:49:29 -0000 1.37
--- MetaTag.java 6 Sep 2004 17:12:59 -0000 1.38
***************
*** 28,31 ****
--- 28,32 ----
import org.htmlparser.Attribute;
+ import org.htmlparser.lexer.Page;
import org.htmlparser.nodes.TagNode;
import org.htmlparser.util.ParserException;
***************
*** 115,119 ****
if ("Content-Type".equalsIgnoreCase (httpEquiv))
{
! charset = getPage ().getCharset (getAttribute ("CONTENT"));
getPage ().setEncoding (charset);
}
--- 116,120 ----
if ("Content-Type".equalsIgnoreCase (httpEquiv))
{
! charset = Page.getCharset (getAttribute ("CONTENT"));
getPage ().setEncoding (charset);
}
|