AnsweredAssumed Answered

Alfresco 2.1 Xml extract metadata problem

Question asked by agonzalez on Dec 15, 2008
I'm trying parse this file:

<model>
        <author>Joe Doe</author>
</model>

For it i did:

in classes/alfresco/extension/ i renamed wcm-xml-metadata-extracter-context.xml.sample to  wcm-xml-metadata-extracter-context.xml, but it didn't work.

debug log says:

18:54:17,986 DEBUG [org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter] Added mapping from version to com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl@19c189b
18:54:17,986 DEBUG [org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter] Added mapping from author to com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl@113722b
18:54:17,987 DEBUG [org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter] Added mapping from description to com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl@1ac9cff
18:54:17,987 DEBUG [org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter] Added mapping from title to com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl@177357d
18:54:18,006 DEBUG [org.alfresco.repo.content.metadata.MetadataExtracterRegistry] Registering metadata extracter: org.alfresco.repo.content.metadata.xml.XmlMetadataExtracter@d207ad

i drop "metadataExtracterRegistry/avmMetadataExtracterRegistry" from config and doesn't work
when i upload a xml file log says:
18:59:35,985 DEBUG [org.alfresco.repo.content.metadata.MetadataExtracterRegistry] Finding best extracter for text/xml
but nothing happens

help is appreciated

Outcomes