cancel
Showing results for 
Search instead for 
Did you mean: 

using XML catalog in Alfresco

kilo
Champ in-the-making
Champ in-the-making
Hello Alfresco users and gurus,

The XML metadata extractor in Alfresco does not work when I have DOCTYPE in my XML - I think it cannot find the DTD mentioned  in DOCTYPE - therefore XML validation fails.

How can I configure Alfresco to use XML catalog to resolve DTDs? I understand that I can use a XML catalog file to specify mapping between publicIDs mentioned in DOCTYPE declaration and local paths for DTD files. I would like to configure Alfresco so it uses a XML catalog to find DTDs.

I'm sure some of you must have done this. Please share. I will greatly appreciate.

Thanks
1 REPLY 1

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

as I cannot find any answer for this problem in this forum, I'd like to raise this question again.

When I have a DOCTYPE line in my XML file the XPathMetadataExtracter reports 'No working metadata extractor could be found'. As soon as I remove the line it works.

As I have the DTD file available, I saved it in different locations, e.g. the same directory as the XML file but this doesn't change anything.

What's the trick to get the extractor work with a DOCTYPE line in the XML file?

Thanks