Reference to undeclared namespace prefix: XMP-aux.

Started by Mac2, December 17, 2021, 03:35:25 AM

Previous topic - Next topic

Mac2

When extracting metadata using the -X option of an MP3 file, I get this error message when parsing the output:

Reference to undeclared namespace prefix: XMP-aux.

while parsing <XMP-aux:ApproximateFocusDistance>.

I use the arguments included below.

I've looked at the MP3 and it contains embedded XMP data written by Adobe Premiere Pro CS6 (Windows).
This XMP record contains aux data like aux:ApproximateFocusDistance, which is extracted by ExifTool but the namespace is not declared in the XML data emitted by ExifTool.

I have extracted, de-personalized and attached the embedded XMP record contained in the MP3 file. I can provide the original MP3 file if you need it (need to ask the user for permission first).

-overwrite_original
-charset
FILENAME=UTF8
-tagsfromfile
c:\temp\bsw.mp3
-all:all
-api
struct=2
-use
MWG
--preview:all
C:\temp\imt111C61CF-B9DC-4917-84A1-7FF310BD3342.xmp
-execute
-overwrite_original
-G
-X
-D
-t
-q
-q
-l
-charset
FILENAME=UTF8
-all:all
-api
struct=2
C:\TEMP\IMT111C61CF-B9DC-4917-84A1-7FF310BD3342.XMP
c:\temp\BSW.MP3
-execute9999


Phil Harvey

Thanks for this report.

I can reproduce this but I don't have time to work on it at the moment.  I'll post back here after I have had a chance to look at this in detail.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

I found the problem.  This will be fixed in 12.38.  Thanks again for this report.

Just FYI, the -overwrite_original in your second command is extraneous since you aren't writing anything.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Mac2

Awesome! Thanks.
I'll strip the useless overwrite_... command. Thanks.

A Merry Christmas and a Happy New Year to you and your family.