Author: abelevich
Date: 2008-06-30 14:02:24 -0400 (Mon, 30 Jun 2008)
New Revision: 9308
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java
Log:
http://jira.jboss.com/jira/browse/RF-3685
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java 2008-06-30
16:27:04 UTC (rev 9307)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java 2008-06-30
18:02:24 UTC (rev 9308)
@@ -64,6 +64,8 @@
boolean haveHtml = false;
boolean haveHead = false;
boolean closingElement = false;
+//
http://jira.jboss.com/jira/browse/RF-3685
+ boolean parsed = false;
// Always parse content, see
http://jira.jboss.com/jira/browse/RF-3577
// if (null != scripts || null != styles || null != userStyles) {
ParsingStateManager stateManager = ParsingStateManager
@@ -72,6 +74,7 @@
ParsingContext context = new ParsingContext(out);
int nextChar;
while ((nextChar = in.read()) > 0) {
+ parsed = true;
char c = (char)nextChar;
state = state.getNextState(c, context);
if (log.isDebugEnabled()) {