Author: dgolovin
Date: 2008-08-12 19:29:06 -0400 (Tue, 12 Aug 2008)
New Revision: 9675
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test1.xml
trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test2.xml
trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test3.xml
trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test4.xml
Log:
fix vpe templates parser test errors. comment moved to content of first xml node
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test1.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test1.xml 2008-08-12 23:22:20 UTC
(rev 9674)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test1.xml 2008-08-12 23:29:06 UTC
(rev 9675)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- there contains incorrect templates. Just for testing -->
<vpe:templates>
+ <!-- there contains incorrect templates. Just for testing -->
<vpe:template-taglib
uri="http://xmlns.oracle.com/adf/faces/EA10/html"
prefix="afh"/>
<vpe:template-taglib
uri="http://xmlns.oracle.com/adf/faces/EA10"
prefix="af"/>
<vpe:template-taglib
uri="http://xmlns.oracle.com/adf/faces/EA11/html"
prefix="afh"/>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test2.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test2.xml 2008-08-12 23:22:20 UTC
(rev 9674)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test2.xml 2008-08-12 23:29:06 UTC
(rev 9675)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- there contains incorrect templates. Just for testing -->
<vpe:templates>
+ <!-- there contains incorrect templates. Just for testing -->
<vpe:tag name="a" case-sensitive="no">
<vpe:template children="yes" modify="yes">
<vpe:copy attrs="id,style,class">
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test3.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test3.xml 2008-08-12 23:22:20 UTC
(rev 9674)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test3.xml 2008-08-12 23:29:06 UTC
(rev 9675)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- This class contains valid template expressions -->
<vpe:templates>
+ <!-- This class contains valid template expressions -->
<vpe:template-taglib
uri="http://java.sun.com/jsf/html"
prefix="h"/>
<vpe:template-taglib
uri="http://java.sun.com/jsf/core"
prefix="f"/>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test4.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test4.xml 2008-08-12 23:22:20 UTC
(rev 9674)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/templates/test4.xml 2008-08-12 23:29:06 UTC
(rev 9675)
@@ -1,6 +1,6 @@
-class="<?xml version="1.0" encoding="UTF-8"?>
-<!-- This class contains invalid template expressions -->
+<?xml version="1.0" encoding="UTF-8"?>
<vpe:templates>
+ <!-- This class contains invalid template expressions -->
<vpe:template-taglib
uri="http://myfaces.apache.org/extensions"
prefix="x" />