cancel
Showing results for 
Search instead for 
Did you mean: 

exception if title in word document contains -

dcrossma
Champ in-the-making
Champ in-the-making
Hi all,

I am using Alfresco 1.4  and  the web services api.

I folder structure like the following

                            ParentFolder
                                       |
                  ChildFolder       Child Folder
                          |  Content              Content  
                  ChildFolder
                             Content
I run a query to to pick my parent folder and then use a recursive method in Java to find all the content below that parent in any of the Child folders.

This works I have tested it with multiple documents, and multiple levels on my tree.

Things go funny though if I upload the same word document to a different space - my thinking on this is that it would not matter as the node Id would be different. The funny thing is if I change the title of one of the documents it all works again. Just to clarify if i check in the same pdf to  a different space it works. This only happens as far as i know with a word document.

After more investigation I have found that the title for the word doc I was testing has a hyphon(-) in it if I remove the  - it all works 

This lead me to think it was a sax parsing error but I dont understand why the first file would work if that was the case.

Any help would be appreciated - I can post code  and a stack trace if you like ?? 

Cheers Dave
1 REPLY 1

dcrossma
Champ in-the-making
Champ in-the-making
I have done some more playing around

If I create a document with open office with a  - in the title it works all the time - Therefore I would assume that the problem is with A funny Word Character????

Please help as 95% of my users use Microsoft Office
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.