Page 1 of 1

Invalid XML for delegates.xml

Posted: 2010-01-19T15:46:37-07:00
by cary.sweet
Version: ImageMagick 6.5.3-3 2009-06-04 Q16 OpenMP on Windows

After installing ImageMagick, when I try to edit delegates.xml with an xml editor, I get the following error, which I agree with.

Attribute "thread-support" must be declared for element type "delegate".

The fix would be to add another ATTLIST at the top of the file for this attribute.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE delegatemap [
<!ELEMENT delegatemap (delegate)+>
<!ELEMENT delegate (#PCDATA)>
<!ATTLIST delegate decode CDATA #IMPLIED>
<!ATTLIST delegate thread-support CDATA #IMPLIED>
<!ATTLIST delegate encode CDATA #IMPLIED>
<!ATTLIST delegate mode CDATA #IMPLIED>
<!ATTLIST delegate spawn CDATA #IMPLIED>
<!ATTLIST delegate stealth CDATA #IMPLIED>
<!ATTLIST delegate command CDATA #REQUIRED>
]>

Re: Invalid XML for delegates.xml

Posted: 2010-01-19T16:01:15-07:00
by magick
We'll get a patch in the next point release of ImageMagick. Thanks.