Author: pbr
Date: 2007-08-31 16:31:35 -0700 (Fri, 31 Aug 2007)
New Revision: 6315
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Log:
Change 20070831-Philip-8 by [EMAIL PROTECTED] on 2007-08-31 14:08:33 EST
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Remove compiler warnings for attribute 'validate'
New Features:
Bugs Fixed: LPP-3988
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Warnings have been disabled when an attribute 'validate' is redefined. The
current mechanism used by binary libraries can cause this attribute to be
defined multiple times. An enhancement task, LPP-4620, has been opened to
implement a better solution.
Tests:
Run lpp3988d.zip test in jira. Running it before making this change will
show a warning when the application is run. No warning after applying this
changeset.
Files:
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20070831-Philip-8.tar
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
===================================================================
---
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
2007-08-31 23:30:14 UTC (rev 6314)
+++
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
2007-08-31 23:31:35 UTC (rev 6315)
@@ -707,7 +707,10 @@
ComparisonMap references, ComparisonMap paths,
ComparisonMap styles) {
if (cattr.type == cattr.ATTRIBUTE) {
- if (attrs.containsKey(name, caseSensitive)) {
+ // Ignore warnings for 'validate'
+ // FIXME [2007-08-31 pbr]: LPP-4620.
+ if (attrs.containsKey(name, caseSensitive) &&
+ !"validate".equalsIgnoreCase(name)) {
env.warn(
/* (non-Javadoc)
* @i18n.test
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins