exception if title in word document contains -
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:35 AM
Hi all,
I am using Alfresco 1.4 and the web services api.
I folder structure like the following
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:59 AM
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
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
