El mié, 15-03-2006 a las 22:10 +0100, Michael Wechner escribió:
> Thorsten Scherler wrote:
> 
> >I think I may have found the problem but I have no time ATM to fix it.
> >
> >The problem can be seen debugging the LinkRewriterImpl.java.
> >
> >org.w3c.dom.Document xmlDocument =
> >SourceUtil.readDOM(examinedDocument.getSourceURI(),
> >                                this.manager);
> >
> >As soon as it reaches the opendocument example (which is no xmlDocument)
> >it causes an error. Since one cannot read a DOM from a binary file. 
> >
> >So actually I think the commit
> >http://svn.apache.org/viewcvs?rev=385788&view=rev
> >where we added:
> >---
> >lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta
> > (original)
> >+++
> >lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta
> > Tue Mar 14 03:09:28 2006
> >@@ -10,6 +10,7 @@
> >   <lenya:internal>
> >     <lenya:resourceType>opendocument</lenya:resourceType>
> >     <lenya:contentType>odt</lenya:contentType>
> >+     <lenya:extension>odt</lenya:extension>
> >   </lenya:internal>
> > </lenya:meta>
> > </lenya:document>
> >
> >are showing again the problematic of xml-only docs and that the adding
> >of the extension is not yet the perfect solution. :(
> >
> >As soon as I comment 
> ><!--<lenya:extension>odt</lenya:extension>-->
> >everything works like a charm.
> >
> >I will commit the fix now, but that will cause webdav do not recognize
> >odt anymore.
> >  
> >
> 
> well, I think we rather need to enhance the LinkRewriterImpl. I till try
> to fix it.

Yeah, it was a workaround till we enhance. ;)

> 
> Thanks for the hints

de nada :)

> 
> Michi
> 
> >salu2
> >
> >El mié, 15-03-2006 a las 15:21 +0100, Thorsten Scherler escribió:
> >  
> >
> >>El mié, 15-03-2006 a las 14:50 +0100, Michael Wechner escribió:
> >>    
> >>
> >>>Hi
> >>>
> >>>There seems to me a problem with:
> >>>
> >>>src/java/org/apache/lenya/cms/site/usecases/ChangeNodeID.java
> >>>
> >>>resp. renaming nodes doesn't work anymore within the Site area.
> >>>
> >>>After commenting:
> >>>
> >>>+/*
> >>>             rewriter = (LinkRewriter) 
> >>>this.manager.lookup(LinkRewriter.ROLE);
> >>>             rewriter.rewriteLinks(source, target);
> >>>+*/
> >>>
> >>>it worked again, but I guess something has been changed.
> >>>
> >>>It seems like it started to fail after the following commits:
> >>>
> >>>
> >>>added    thorsten    
> >>>/lenya/trunk/src/modules/webdav/config/cocoon-xconf/usecases-webdav-mkcol.xconf
> >>>    
> >>>03/14/2006 13:16:01    Implementing the first version of mkcol usecase 
> >>>for webdav. It is quite rudimental and is assuming a xhtml to be created 
> >>>but you can now create new folders in e.g. cadaver with 'mkcol test2'. 
> >>>Have not tested with any other client yet.
> >>>
> >>>added    thorsten    
> >>>/lenya/trunk/src/modules/webdav/java/src/org/apache/lenya/cms/usecases/webdav/Mkcol.java
> >>>    
> >>>03/14/2006 13:16:01    Implementing the first version of mkcol usecase 
> >>>for webdav. It is quite rudimental and is assuming a xhtml to be created 
> >>>but you can now create new folders in e.g. cadaver with 'mkcol test2'. 
> >>>Have not tested with any other client yet.
> >>>
> >>>Or any other idea?
> >>>
> >>>      
> >>>
> >>I will have look but it should not be the real problem.
> >>
> >>salu2
> >>
> >>    
> >>
> >>>Thanks
> >>>
> >>>Michi
> >>>      
> >>>
> 
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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

Reply via email to