Skip to content

Commit

Permalink
Fix opex namespace attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hatton committed Feb 20, 2023
1 parent 714460c commit 85615ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/export/ImdiGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,10 @@ export default class ImdiGenerator {
//in OPEX mode, we wrap the whole thing in a <opex:OPEXMetadata><opex:DescriptiveMetadata>
if (this.mode === IMDIMode.OPEX) {
this.tail = XmlBuilder.create("opex:OPEXMetadata");
this.tail.a("xmlns", "http://www.openpreservationexchange.org/opex/v1.0");
this.tail.a(
"xmlns:opex",
"http://www.openpreservationexchange.org/opex/v1.0"
);
const x = this.tail.element("opex:DescriptiveMetadata");
this.tail = x.element("METATRANSCRIPT");
} else {
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lameta",
"productName": "lameta",
"version": "2.1.0-alpha",
"version": "2.1.1-alpha",
"description": "File & metadata organization for language documentation projects.",
"main": "./main-bundle.js",
"author": {
Expand Down

0 comments on commit 85615ec

Please sign in to comment.