#Cyrille37# a écrit :
Hello

I don't understand why I get the SAXParseException :
The content of element type "script" must match "(include-script*,input-symbol*,(let|set)*,body?,initialization?)".

The exception arrived when **I add a include-script element**.

The script is :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script PUBLIC
 "-//Apache Software Foundation//Tapestry Script Specification 3.0//EN"
 "http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd";>
<script>
<input-symbol key="item" class="model.Item" required="yes"/>
<include-script resource-path="ItemRenderer.js"/>
<body>
...
Ok, I found.
<include-script> must be just after the <script>
Like :

<script>
<include-script resource-path="ItemRenderer.js"/>
<input-symbol key="item" class="model.Item" required="yes"/>
<body>

cyrille


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to