Comments (3)
You're on the right track but I think the real fix might be to remove the fallback completely. Can you remove this code entirely and let me know how that works in your install?
$o_doc_src = DomDocument::loadXML($vs_item_xml);
if($o_doc_src) { // just in case the xml fails to load through DomDocument for some reason (e.g. a bad mapping or very weird characters)
$metadataElement->appendChild($oaiData->importNode($o_doc_src->documentElement, true));
}
from providence.
removing the whole block breaks the output, the <metadata>
node is omitted this way.
from providence.
Ok thanks. Your fix seems to work ok with other files. I'll merge it.
from providence.
Related Issues (20)
- Access field on nonpreferred_labels defaulting to top of list, not default HOT 1
- Invalid task queue handler causes infinite loop HOT 3
- Loan <> Entity `borrower` Label Confusion in Base Profile
- Possibility of bug on 1.8 $vs_template_path in app/helpers/printHelper.php HOT 1
- Sorting options for metadata in Object editor UI HOT 3
- Allow for indexing all fields of related records in "self relationships"
- Re-Processing Media Sometimes Leaves Old Previews HOT 3
- Off-by-One Errors in Gmagick.php
- Don't Close Files That Aren't Open
- Allow ca_object_representations_access_status for other tables
- Email check log going to CA root dir HOT 1
- required field marker not showing on idno
- Import bug introduced HOT 10
- Requirements Page offline
- Very Slow Page Load When WAN is Down
- Interstitial editor not re-populating the relationship type dropdown in main UI after editing HOT 2
- Search has error on idno with leading zeroes - bug? HOT 1
- Warning: Undefined variable on standard editor (php8 branch) HOT 1
- Media import matching to idno where identifier starts with value HOT 1
- Undefined array key warnings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from providence.