I wrote a component called 'position' that I reuse on every page of my
application. This component shows the current position within the
application and requires one parameter called position.
The definition of the component (Position.jwc) looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE specification
PUBLIC "-//Howard Ship//Tapestry Specification 1.1//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_1.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<specification
class="com.daedalos.tapestry.viewController.PositionComponent"
allow-body="yes" allow-informal-parameters="yes" > <component
id="insertCurrentPosition"
type="/com/primix/tapestry/components/Insert.jwc"> <inherited-binding
name="value" property-path="position"/>
</component>
</specification>
---------------
I reuse this component in another component (e.g. Home.jwc) like this:
<component id="insertPosition" type="Position">
<static-binding name="position">you're on the home page</static-binding>
</component>
------
this is working excellent, but I want to write a german application an
therefore I need umlaut (like �). So I want to write:
<static-binding name="position">Gl�ckwunsch</static-binding>
The I get a runtime error: org.xml.sax.SAXParseException 'unconvertible
UTF-8 character beginning with 0xfc' ...
When I try to use HTML-like style (ü) then I get:
'unable to parse Home.jwc: Referenz auf eine nicht definierte Entit�t
ü' (which means 'reference to a not defined entity')
How can I use an umlaut?
Best regards,
Christian Noack
Daedalos Consulting GmbH
www.daedalos.com
[EMAIL PROTECTED]
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer