It seems to work better if you use Rein's XML parser, i.e. add this to your resin.conf:

<system-property javax.xml.parsers.DocumentBuilderFactory="com.caucho.xml.parsers.XmlDocumentBuilderFactory" /> <system-property javax.xml.parsers.SAXParserFactory="com.caucho.xml.parsers.XmlSAXParserFactory" />

There is a bug that looks very similar to this: that was marked as fixed in version 3.1.1 -- maybe it's not completely fixed after all?

- Erik -

Olaf Krische wrote:
Hello Erik,

thank you for your answer. And yes, you were right about the missing 'jsp' .
My heart started to bump. I have changed the example accordingly. Sadly, the
error will not disappear:

/indexXML.jsp:1: org.xml.sax.SAXParseException: The prefix "c" for element
"c:set" is not bound.

1:  <?xml version="1.0" encoding="UTF-8"?>
2:  <jsp:root xmlns="";
xmlns:c=""; version="2.1">

Erik Forkalsrud wrote:
Olaf Krische wrote:
1. Download Resin 3.1 snapshot (resin-3.1.s080126)
2. Starting with "java -jar lib/resin.jar start"
3. http://localhost:8080/resin-doc/index.jsp

Works perfectly.

4. Now i add to resin-doc a new file "indexXML.jsp".
5. I add the standard.jar (1.0.6) to resin-doc/WEB-INF/lib/
6. Receiving now a SAXParseException, when calling
I think in resin 3.1.x you should use for the "c" JSTL tags. (note the extra "/jsp/")

The changed indexXML.jsp:

<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns="";
xmlns:c=""; version="2.1">

<c:set var="locale">de_AT</c:set>
<c:out value="${locale}"/>


resin-interest mailing list

Reply via email to