# HG changeset patch # User Lillian Angel # Date 1222278967 14400 # Node ID 098f7819fe90d0cc65e701763ed375b2099885b9 # Parent f9d81fd1466d1ac0e1e9514ee0156cc2e2cfc087 2008-09-23 Lillian Angel * configure.ac: Fixed help string for enable-visualvm. * rt/net/sourceforge/nanoxml/XMLElement.java: Fixed check for special tags. diff -r f9d81fd1466d -r 098f7819fe90 ChangeLog --- a/ChangeLog Wed Sep 24 11:44:16 2008 -0400 +++ b/ChangeLog Wed Sep 24 13:56:07 2008 -0400 @@ -1,3 +1,9 @@ +2008-09-23 Lillian Angel + + * configure.ac: Fixed help string for enable-visualvm. + * rt/net/sourceforge/nanoxml/XMLElement.java: Fixed check for special + tags. + 2008-09-23 Deepak Bhole * IcedTeaPlugin.cc: Updated to call new plugin main class. Add function to correctly recognize JS context. diff -r f9d81fd1466d -r 098f7819fe90 configure.ac --- a/configure.ac Wed Sep 24 11:44:16 2008 -0400 +++ b/configure.ac Wed Sep 24 13:56:07 2008 -0400 @@ -118,8 +118,7 @@ AC_ARG_ENABLE([visualvm], [AS_HELP_STRING([--enable-visualvm], - [Enable compilation of visualvm. Requires that \ - --with-netbeans-dir=DIR is specified.])], + [Enable compilation of visualvm.])], [enable_visualvm="yes"], [enable_visualvm="no"]) AM_CONDITIONAL(WITH_VISUALVM, test "x${enable_visualvm}" = "xyes") diff -r f9d81fd1466d -r 098f7819fe90 rt/net/sourceforge/nanoxml/XMLElement.java --- a/rt/net/sourceforge/nanoxml/XMLElement.java Wed Sep 24 11:44:16 2008 -0400 +++ b/rt/net/sourceforge/nanoxml/XMLElement.java Wed Sep 24 13:56:07 2008 -0400 @@ -1255,6 +1255,7 @@ this.reader = isr; this.parserLineNr = 0; int newline = 2; + char prev = ' '; while(true) { char ch; @@ -1289,7 +1290,7 @@ // If the next char is a ? or !, then we've hit a special tag, // and should skip it. - if (next == '!' || next == '?') { + if (prev == '<' && (next == '!' || next == '?')) { this.skipSpecialTag(0); this.sanitizeCharReadTooMuch = '\0'; } @@ -1306,6 +1307,7 @@ } } } + prev = next; } out.close();