cancel
Showing results for 
Search instead for 
Did you mean: 

XML extration fails on files with DOCTYPE line

chriscms
Champ in-the-making
Champ in-the-making
Hello,

XML extration works fine on files that do not have a DOCTYPE line like e.g.
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

As soon as I trigger the metadata extration of a XML file with such a line, the extration doesn't work any longer. In the log I just get the message:
DEBUG [org.alfresco.repo.content.metadata.MetadataExtracterRegistry] Finding extractors for text/xml
DEBUG [org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter]
No working metadata extractor could be found:

I played around with the reference to the DTD file (e.g. 'http://www.springframework.org/dtd/spring-beans.dtd'), e.g. replacing it by just the filename and saving the DTD file in the same directory as the XML file - unfortunately nothing has helped so far  Smiley Sad

Any idea?

Is this a bug or a feature?

I'm running Alfresco 3.4b on a Ubuntu 8.04 server.
2 REPLIES 2

chriscms
Champ in-the-making
Champ in-the-making
Is there really nobody having this problem? Or any idea what might cause the problem?

chriscms
Champ in-the-making
Champ in-the-making
After I opened a ticket it turned out to be really an error. It has been fixed now and will be delivered with one of the next releases.