AnsweredAssumed Answered

XML extration fails on files with DOCTYPE line

Question asked by chriscms on Jan 19, 2011
Latest reply on Mar 1, 2011 by chriscms
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  :(

Any idea?

Is this a bug or a feature?

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

Outcomes