Still being puzzled over the strange truncations, I was able to spot a  
similar Bug in Apache Tomcat (it affects the Tomcat Version 7.0.25 I  
am currently using, but I'm not sure whether the truncations are  
inherited from tomcat or genuinely caused by fcrepo) here:

https://issues.apache.org/bugzilla/show_bug.cgi?id=52577

--Jörg Knappen

Zitat von Jörg Knappen <j.knap...@mx.uni-saarland.de>:

> Exploring this issue further, I find that the saved version (in
> $FEDORA_HOME/data/objectSore/*/info%3Afedora%2Fdemo%3A28) differs from
> the
> web out put in its xml style, it is rewritten to have explicit end tags ...
> I suspect that the rewriting engine is to blame here. Why are
> sometimes exactly 16 Bytes lost?
>
> --Jörg Knappen
>
> Excerpt from differentes between web server output and Fedora archived
> content:
>
> 194,198c196,200
> <         <mime:content type="image/gif"></mime:content>
> <         <mime:content type="image/jpeg"></mime:content>
> <         <mime:content type="image/tiff"></mime:content>
> <         <mime:content type="image/png"></mime:content>
> <         <mime:content type="image/bmp"></mime:content>
> ---
>>         <mime:content type="image/gif"/>
>>         <mime:content type="image/jpeg"/>
>>         <mime:content type="image/tiff"/>
>>         <mime:content type="image/png"/>
>>         <mime:content type="image/bmp"/>
> 202c204
> < </w
> \ Kein Zeilenumbruch am Dateiende.
> ---
>> </wsdl:definitions>
>
>
> Zitat von Jörg Knappen <j.knap...@mx.uni-saarland.de>:
>
>> I tried to repare it manually (using the fedora/admin interface and
>> adding the missing characters </w
>>                        sdl:definitions>
>>
>> and saving. Nothing changed, it is still delivered in a broken way.
>>
>> --Jörg Knappen
>>
>>
>> Zitat von Jörg Knappen <j.knap...@mx.uni-saarland.de>:
>>
>>> Additional information to the problem:
>>>
>>> Fedora ist version 3.5 running on preinstalled Apache-Tomcat-7.0.25 with
>>> java   version "1.6.0_30"
>>> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
>>> Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
>>>
>>> I have checked the data store and found in  
>>> $FEDORA_HOME/data/objectStore/19/
>>> the file info%3Afedora%2Fdemo%3A28.
>>>
>>> This file is well-formed xml (tested with xmllint) and contains the
>>> full wdsl.
>>> It is only the delivery fo the wsdl which fails.
>>>
>>> BTW, it is also truncated at the same place when I go via the
>>> fedora/admin interface and try to edit the wdsl datastream.
>>>
>>> --Jörg Knappen
>>>
>>> Zitat von Jörg Knappen <j.knap...@mx.uni-saarland.de>:
>>>
>>>> I am still testing the fedora commons repository. Now some (but not
>>>> all!) demo objects have broken wdsl-datastreams, e.g., the object
>>>> demo:28:
>>>>
>>>> http://fedora.clarin-d.uni-saarland.de/fedora/objects/demo:28/datastreams/WSDL/content
>>>>
>>>> give me the following error message from Firefox 9.0.1
>>>>
>>>> XML-Verarbeitungsfehler: Ungeschlossenes Token
>>>> Adresse:
>>>> http://fedora.clarin-d.uni-saarland.de/fedora/objects/demo:28/datastreams/WSDL/content
>>>> Zeile Nr. 202, Spalte 17:                </w
>>>> ----------------^
>>>>
>>>> (My Firefox speaks german: it translates to
>>>> XML processing error: token not closed
>>>> address:
>>>> http://fedora.clarin-d.uni-saarland.de/fedora/objects/demo:28/datastreams/WSDL/content
>>>> Line 202, Row 17: </w
>>>> )
>>>>
>>>> It seems that the wdsl datastream ends prematurely. Has someone
>>>> encountered this problem before? Google showed nothing to me.
>>>>
>>>> --Jörg Knappen
>>>>
>>>> P.S. The following demos show the problem demo:13 demo:25 demo:28




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to