Invalid XML for delegates.xml
Posted: 2010-01-19T15:46:37-07:00
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>
]>
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>
]>