Confurm this as eXist bug, xml files size issue. I do have an example (trunk, webdav and linux svn client):

http://animo.svn.sourceforge.net/viewvc/animo/trunk/animotron/site/smartims.org/uuid-4e06d996-283f-40c2-9909-4e11d05f7ef6.xml?revision=247&view=markup

File size: 4096 bytes

and fixed one

http://animo.svn.sourceforge.net/viewvc/animo/trunk/animotron/site/smartims.org/uuid-4e06d996-283f-40c2-9909-4e11d05f7ef6.xml?revision=251&view=markup

File size: 1668 bytes

2011/2/25 Вячеслав Седов <schematronic@gmail.com>
look like xml files become wrong after reading - some files is
truncated, some with extra spaces - both cases is invalid - so further
copy failed

look like copying of binary files work good - just netdrive show as
empty folder with 1500 docx files - but oxygenxml show all

so problem reduced

i guess eXist report wrong size of xml files to netdrive - sometime
smaller - sometime bigger

25 февраля 2011 г. 11:38 пользователь Вячеслав Седов
<schematronic@gmail.com> написал:
> yep... but both binary and xml files not copied - copied only text
> files - with xquery
>
> well - tried xslt
>
> look differently
>
> 2011-02-25 11:30:40,777 [eXistThread-21] INFO  (HttpManager.java
> [process]:146) - PUT ::
> http://localhost:8080/exist/webdav/db/metadata-filler-wk.xsl -
> http://localhost:8080/exist/webdav/db/metadata-filler-wk.xsl
> 2011-02-25 11:30:40,780 [eXistThread-21] DEBUG (PutHandler.java
> [process]:71) - process request: host: localhost:8080 url:
> /exist/webdav/db/metadata-filler-wk.xsl
> 2011-02-25 11:30:40,781 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:93) - host='localhost:8080'
> path='/db/metadata-filler-wk.xsl'
> 2011-02-25 11:30:40,782 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:145) - Path:
> /db/metadata-filler-wk.xsl
> 2011-02-25 11:30:40,783 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:198) - Resource
> type=NOT_EXISTING
> 2011-02-25 11:30:40,784 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:124) - Resource does not
> exist: '/db/metadata-filler-wk.xsl'
> 2011-02-25 11:30:40,786 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:93) - host='localhost:8080'
> path='/db/metadata-filler-wk.xsl'
> 2011-02-25 11:30:40,787 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:145) - Path:
> /db/metadata-filler-wk.xsl
> 2011-02-25 11:30:40,790 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:198) - Resource
> type=NOT_EXISTING
> 2011-02-25 11:30:40,791 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:124) - Resource does not
> exist: '/db/metadata-filler-wk.xsl'
> 2011-02-25 11:30:40,791 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:93) - host='localhost:8080'
> path='/db'
> 2011-02-25 11:30:40,792 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:145) - Path: /db
> 2011-02-25 11:30:40,793 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:198) - Resource
> type=COLLECTION
> 2011-02-25 11:30:40,797 [eXistThread-21] DEBUG (MiltonCollection.java
> [<init>]:108) - COLLECTION:/db
> 2011-02-25 11:30:40,797 [eXistThread-21] DEBUG (ExistCollection.java
> [<init>]:68) - New collection object for /db
> 2011-02-25 11:30:40,799 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResource]:93) - host='localhost:8080'
> path='/db'
> 2011-02-25 11:30:40,799 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:145) - Path: /db
> 2011-02-25 11:30:40,802 [eXistThread-21] DEBUG
> (ExistResourceFactory.java [getResourceType]:198) - Resource
> type=COLLECTION
> 2011-02-25 11:30:40,804 [eXistThread-21] DEBUG (MiltonCollection.java
> [<init>]:108) - COLLECTION:/db
> 2011-02-25 11:30:40,805 [eXistThread-21] DEBUG (ExistCollection.java
> [<init>]:68) - New collection object for /db
> 2011-02-25 11:30:40,805 [eXistThread-21] DEBUG (MiltonCollection.java
> [getCurrentLock]:332) - '/db'
> 2011-02-25 11:30:40,806 [eXistThread-21] DEBUG (MiltonResource.java
> [authenticate]:299) - Authenticating user admin for /db
> 2011-02-25 11:30:40,807 [eXistThread-21] DEBUG (MiltonResource.java
> [authenticate]:336) - User 'admin' has been authenticated.
> 2011-02-25 11:30:40,808 [eXistThread-21] INFO  (MiltonResource.java
> [authorise]:343) - PUT  true for /db
> 2011-02-25 11:30:40,808 [eXistThread-21] DEBUG (MiltonResource.java
> [authorise]:402) - URI is null
> 2011-02-25 11:30:40,809 [eXistThread-21] DEBUG (MiltonResource.java
> [authorise]:408) - User admin is authorized to write resource /db
> 2011-02-25 11:30:40,810 [eXistThread-21] DEBUG (PutHandler.java
> [processCreate]:158) - process: putting to: db
> 2011-02-25 11:30:40,810 [eXistThread-21] DEBUG (MimeUtil2.java
> [getMimeTypes]:550) - Getting MIME types for file name
> [metadata-filler-wk.xsl].
> 2011-02-25 11:30:40,812 [eXistThread-21] DEBUG (MimeUtil2.java
> [getMimeTypes]:570) - Retrieved MIME types [application/octet-stream]
> 2011-02-25 11:30:40,813 [eXistThread-21] DEBUG (PutHandler.java
> [processCreate]:162) - PutHandler: creating resource of type:
> application/octet-stream
> 2011-02-25 11:30:40,813 [eXistThread-21] DEBUG (MiltonCollection.java
> [createNew]:256) - Create 'metadata-filler-wk.xsl' in '/db'
> 2011-02-25 11:30:40,814 [eXistThread-21] DEBUG (ExistCollection.java
> [createFile]:352) - Create 'metadata-filler-wk.xsl' in '/db'
> 2011-02-25 11:30:40,815 [eXistThread-21] DEBUG (ExistCollection.java
> [createFile]:411) - Inserting XML document 'application/xslt+xml'
> 2011-02-25 11:30:40,816 [eXistThread-21] DEBUG (Collection.java
> [validateXMLResourceInternal]:1196) - Scanning document
> /db/metadata-filler-wk.xsl
> 2011-02-25 11:30:40,817 [eXistThread-21] DEBUG (GrammarPool.java
> [retrieveInitialGrammarSet]:81) - Retrieve initial grammarset
> (http://www.w3.org/TR/REC-xml).
> 2011-02-25 11:30:40,818 [eXistThread-21] DEBUG (GrammarPool.java
> [retrieveInitialGrammarSet]:85) - Found 0 grammars.
> 2011-02-25 11:30:40,823 [eXistThread-21] DEBUG (GrammarPool.java
> [retrieveInitialGrammarSet]:81) - Retrieve initial grammarset
> (http://www.w3.org/TR/REC-xml).
> 2011-02-25 11:30:40,823 [eXistThread-21] DEBUG (GrammarPool.java
> [retrieveInitialGrammarSet]:85) - Found 0 grammars.
> 2011-02-25 11:30:40,824 [eXistThread-21] DEBUG (ExistCollection.java
> [createFile]:484) - Finished creation
> 2011-02-25 11:30:40,825 [eXistThread-21] ERROR (StandardFilter.java
> [process]:45) - process
> java.util.MissingResourceException: Can't find bundle for base name
> org.apache.xerces.impl.msg.XMLMessages, locale ru_RU
>        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
>        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
>        at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
>        at org.apache.xerces.impl.msg.XMLMessageFormatter.formatMessage(Unknown Source)
>        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
>        at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.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.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>        at org.exist.collections.Collection$4.run(Collection.java:1112)
>        at org.exist.collections.Collection.validateXMLResourceInternal(Collection.java:1197)
>        at org.exist.collections.Collection.validateXMLResource(Collection.java:1106)
>        at org.exist.webdav.ExistCollection.createFile(ExistCollection.java:415)
>        at org.exist.webdav.MiltonCollection.createNew(MiltonCollection.java:261)
>        at com.bradmcevoy.http.http11.PutHandler.processCreate(PutHandler.java:163)
>        at com.bradmcevoy.http.http11.PutHandler.process(PutHandler.java:138)
>        at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:32)
>        at com.bradmcevoy.http.FilterChain.process(FilterChain.java:21)
>        at com.bradmcevoy.http.HttpManager.process(HttpManager.java:152)
>        at com.bradmcevoy.http.MiltonServlet.service(MiltonServlet.java:169)
>        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)
>        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516)
>        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
>        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
>        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
>        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240)
>        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116)
>        at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47)
>        at org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:218)
>        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
>        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479)
>        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
>        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
>        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
>        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151)
>        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
>        at org.eclipse.jetty.server.Server.handle(Server.java:352)
>        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
>        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)
>        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
>        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
>        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)
>        at java.lang.Thread.run(Thread.java:619)
>
> 24 февраля 2011 г. 23:58 пользователь Dannes Wessels
> <dannes@exist-db.org> написал:
>> docx isn't a xml document right ?
>> On 24 Feb 2011, at 21:27 , Вячеслав Седов wrote:
>>
>> 2011-02-24 17:52:32,699 [eXistThread-23] DEBUG (ExistDocument.java
>> [<init>]:64) - New document object for /db/mcfr/content/000000605.docx
>>
>> Kind regards
>> Dannes
>> --
>> eXist-db Native XML Database - http://exist-db.org
>> Join us on linked-in: http://www.linkedin.com/groups?gid=35624
>>
>>
>>
>>
>>
>>
>>
>>
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Exist-development mailing list
Exist-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-development



--
Dmitriy Shabanov