diff --git a/crates/kra/src/lib.rs b/crates/kra/src/lib.rs index 71b7b8ff8..f59bd95cd 100644 --- a/crates/kra/src/lib.rs +++ b/crates/kra/src/lib.rs @@ -248,7 +248,7 @@ impl Image { ..craft_xml::Options::local().strict() }; let root = options.parse(maindoc).map_err(|e| match e { - craft_xml::Error::Doctype => invalid("maindoc.xml: an internal DTD is not accepted"), + craft_xml::Error::Doctype => invalid("maindoc.xml: a document type with an internal DTD subset is not accepted"), other => invalid(format!("maindoc.xml: {other}")), })?; let image = root.child("IMAGE").ok_or_else(|| invalid("maindoc.xml has no IMAGE"))?;