[ https://issues.apache.org/jira/browse/TAP5-628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thilo Tanner updated TAP5-628: ------------------------------ Environment: Ubuntu 8.10 / Mac OS X 10.5.6, Glassfish V2.1 and V3 / Jetty 6 > Parameter namespacePrefix was null. > ----------------------------------- > > Key: TAP5-628 > URL: https://issues.apache.org/jira/browse/TAP5-628 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.1.0.0, 5.1.0.1, 5.1.0.2 > Environment: Ubuntu 8.10 / Mac OS X 10.5.6, Glassfish V2.1 and V3 / > Jetty 6 > Reporter: Thilo Tanner > Attachments: t5example.zip > > > T5 throws "java.lang.IllegalArgumentException: Parameter namespacePrefix was > null" when deploying application on Glassfish (v2.1 and v3). With Jetty > everything works fine. It seems that Glassfish handles namespaces a bit > different than other containers do. > The error *only* occurs when a Doctype is set. It seems that the XML parser > of glassfish sets the variable "namespacePrefix" in the method > "defineNamespace" (class: org.apache.tapestry5.dom.Element) to null. When I > change the value to "" (empty string) by hand, everything works fine. Would > it be possible to change the behaviour that a null namespacePrefix will be > accepted? When no Doctype is defined, the method defineNamespace is not > called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.