Invalid XML for delegates.xml

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
cary.sweet
Posts: 4
Joined: 2009-08-19T09:13:28-07:00
Authentication code: 8675309
Location: Alberta

Invalid XML for delegates.xml

Post 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>
]>
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Invalid XML for delegates.xml

Post by magick »

We'll get a patch in the next point release of ImageMagick. Thanks.
Post Reply