XMP Metadata path found but Switch doesn't return the sample

Post Reply
loicaigon
Advanced member
Posts: 361
Joined: Wed Jul 10, 2013 10:22 am

XMP Metadata path found but Switch doesn't return the sample

Post by loicaigon »

Hi all,

I have some indesign scripts that adds XMP data to a document. It's later exported in PDF and enters the flow.
PDFs Custom XMP are like this :

Code: Select all

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description xmlns:ozalto="https://ns.ozalto.fr/inks/1.0">
      <ozalto:colorSequence>
        <rdf:Seq>
          <rdf:li rdf:parseType="Resource">
            <ozalto:NbCol>4</ozalto:NbCol>
            <ozalto:SeqCol>PANTONE 1935 C,PANTONE 531 C,PANTONE Black C,die cut</ozalto:SeqCol>
          </rdf:li>
        </rdf:Seq>
      </ozalto:colorSequence>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>

The problem I have is that when I try to read those XMP metadata into Switch, I can totally nuild a path and reach the node. I can even see it's value in the browser. However the sample won't display any value. It's very weird.

What could explain such a behavior from your point of view ?

Best regards,

Loïc
loicaigon
Advanced member
Posts: 361
Joined: Wed Jul 10, 2013 10:22 am

Re: XMP Metadata path found but Switch doesn't return the sample

Post by loicaigon »

Ok I got it. It was lacking of a simple "/" character at the end of the url :

xmlns:ozalto="https://ns.ozalto.fr/inks/1.0/"
Post Reply