metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Provide namespace for xml-file in flux

Open TobiasNx opened this issue 2 years ago • 5 comments

Even though following ticket states that this is solved,

https://github.com/metafacture/metafacture-core/issues/247

One cannot add a simple namespace to an xml file with flux or its java implementation.

This should be easily possible.

TobiasNx avatar Nov 07 '23 15:11 TobiasNx

Even though following ticket states that this is solved,

It's been solved for Java, not for Flux.

blackwinter avatar Nov 07 '23 15:11 blackwinter

It seems that this also works in the flux: https://github.com/TobiasNx/metafacture_runner_examples/blob/b94d361280f7eec816acc5e4abae8da67b7e7ae4/examples/marc21-to-edm/MARC21-EDM.flux#L18

TobiasNx avatar Nov 10 '23 11:11 TobiasNx

(i.e., namespaceFile vs. namespaces)

blackwinter avatar Nov 10 '23 12:11 blackwinter

you are right, adding the namespace within the flux could be more convenient

TobiasNx avatar Nov 10 '23 12:11 TobiasNx

It's deployed to staging, see https://test.metafacture.org/playground/?example=encode-xml . Can you review @maipet ?

dr0i avatar Mar 19 '24 15:03 dr0i

Closing as completed.

dr0i avatar Apr 18 '24 08:04 dr0i