M11: tests: the second extension property list is the incomplete one (6.6.2.3.3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
This commit is contained in:
mtlcl410
2026-11-05 17:05:05 +08:00
co-authored by Claude Opus 5.5
parent 5241619b96
commit 97d054e14f
+2 -2
View File
@@ -856,8 +856,8 @@ fn xmp_extension_schema_descriptions_are_complete() {
// A second property list is read as well as the first.
let complete = schema_without("");
let second = complete.replacen(
"<pdfaSchema:property>",
r#"<pdfaSchema:property><rdf:Seq><rdf:li rdf:parseType="Resource"><pdfaProperty:name>p</pdfaProperty:name></rdf:li></rdf:Seq></pdfaSchema:property><pdfaSchema:property>"#,
"</pdfaSchema:property>",
r#"</pdfaSchema:property><pdfaSchema:property><rdf:Seq><rdf:li rdf:parseType="Resource"><pdfaProperty:name>p</pdfaProperty:name></rdf:li></rdf:Seq></pdfaSchema:property>"#,
1,
);
assert_eq!(extension(&second, OWN).0, ["pdfaProperty:category", "pdfaProperty:description", "pdfaProperty:valueType"]);