Thanks for coming back, Thorsten.

Regards
Werner

On Thu, 24 Jun 2004 13:08:57 +0200, Thorsten Mauch wrote:

>
>only for info, i have not cocoon and castor 0.8.11 running.
>The problem i faced before was related to the portlets. This not work
>correctly
>wirh castor XML 0.8.11. Fortunatly my project not use portlets at all
>so i commented this service in cocoon.xconf and everything works fine now.
>
>the exception was:
>ValidationException: "xml:lang" is not a valid NCName.;
>   - location of error: XPATH: mapping/class/field/bind-xml/@name
>        at
>org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:366)
>        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
>Source)
>        at
>org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown
>Source)
>        at
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
>        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
>Source)
>        at
>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
>Source)
>        at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
>her.dispatch(Unknown Source)
>        at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>Source)
>        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at
>org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:321)
>        at
>org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:458)
>        at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:394)
>        at
>org.apache.cocoon.portal.pluto.om.PortletDefinitionRegistryImpl.initialize(P
>ortletDefinitionRegistryImpl.java
>:135)
>        at
>org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
>.java:283)
>        at
>org.apache.cocoon.portal.pluto.PortletContainerEnvironmentImpl.init(PortletC
>ontainerEnvironmentImpl.java:111)
>
>        at
>org.apache.cocoon.portal.pluto.PortletContainerEnvironmentImpl.initialize(Po
>rtletContainerEnvironmentImpl.jav
>a:88)
>        at
>org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
>.java:283)
>        at
>org.apache.cocoon.portal.impl.PortletPortalManager.initContainer(PortletPort
>alManager.java:176)
>        at
>org.apache.cocoon.portal.impl.PortletPortalManager.initialize(PortletPortalM
>anager.java:143)
>        at
>org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
>.java:283)
>        at
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
>faultComponentFactory.java:277)
>        at
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
>ThreadSafeComponentHandler.java:1
>08)
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to