diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-14 23:16:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-22 01:21:00 +0100 |
| commit | 67cba4ee8eba281297af23b3c55a5f8d30fb8363 (patch) | |
| tree | 87b2e01d277d5c2689048d512e219cfa2d759d08 /src | |
| parent | 67c670d6cf8fb063341364eba25e4ef9530a9b66 (diff) | |
Fix bad implementation of bad hack.
Diffstat (limited to 'src')
| -rw-r--r-- | src/verify.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/verify.cc b/src/verify.cc index 6684eac6..89150e2f 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -154,15 +154,8 @@ private: { /* XXX: nasty hack */ if ( - e.message() == - "schema document '/home/carl/src/libdcp/xsd/xml.xsd' has different target namespace " - "from the one specified in instance document 'http://www.w3.org/2001/03/xml.xsd'" || - e.message() == - "schema document '/home/carl/src/libdcp/xsd/xmldsig-core-schema.xsd' has different target namespace " - "from the one specified in instance document 'http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd'" || - e.message() == - "schema document '/home/carl/src/libdcp/xsd/SMPTE-429-8-2006-PKL.xsd' has different target namespace " - "from the one specified in instance document 'http://www.smpte-ra.org/schemas/429-8/2006/PKL'" + e.message().find("schema document") != string::npos && + e.message().find("has different target namespace from the one specified in instance document") != string::npos ) { return; } |
