|
|
@ -582,11 +582,11 @@ function islandora_check_object_status(AbstractObject $object_definition) { |
|
|
|
$xslt->importStyleSheet($xsl); |
|
|
|
$xslt->importStyleSheet($xsl); |
|
|
|
$object_definition_dom = new DOMDocument(); |
|
|
|
$object_definition_dom = new DOMDocument(); |
|
|
|
$object_definition_dom->preserveWhiteSpace = FALSE; |
|
|
|
$object_definition_dom->preserveWhiteSpace = FALSE; |
|
|
|
$object_definition_dom->loadXML(str_replace('info:', 'http://', $ds->content)); |
|
|
|
$object_definition_dom->loadXML(str_replace('info:', 'http://', $ds->content), LIBXML_NOWARNING); |
|
|
|
$object_definition_dom = $xslt->transformToDoc($object_definition_dom); |
|
|
|
$object_definition_dom = $xslt->transformToDoc($object_definition_dom); |
|
|
|
$object_actual_dom = new DOMDocument(); |
|
|
|
$object_actual_dom = new DOMDocument(); |
|
|
|
$object_actual_dom->preserveWhiteSpace = FALSE; |
|
|
|
$object_actual_dom->preserveWhiteSpace = FALSE; |
|
|
|
$object_actual_dom->loadXML(str_replace('info:', 'http://', $existing_object[$ds->id]->content)); |
|
|
|
$object_actual_dom->loadXML(str_replace('info:', 'http://', $existing_object[$ds->id]->content), LIBXML_NOWARNING); |
|
|
|
$object_actual_dom = $xslt->transformToDoc($object_actual_dom); |
|
|
|
$object_actual_dom = $xslt->transformToDoc($object_actual_dom); |
|
|
|
|
|
|
|
|
|
|
|
// Fedora changes the xml structure so we need to cannonize it. |
|
|
|
// Fedora changes the xml structure so we need to cannonize it. |
|
|
|