eac xml record not valid because of the xml:id attribute
ygherman opened this issue · 2 comments
Hi,
I am using your great tool to create eac xml file, and also ingesting VIAF and WorldCat matches, which is great.
I have only one issue which makes the output xml not valid, because of the FAST terms i choose to include in the file.
These are marked as following:
Holocaust, Jewish (1939-1945)
But the problem is with the xml:id attribute. Because the FAST subject id's are number, they don't comply with the xml:id definition, and I'm getting the error: "E [Xerces] cvc-datatype-valid.1.2.1: '958866' is not a valid value for 'NCName'."
This is becuase NCName cannot start with a number.
Do you have any suggestion for me?
How I can use the FAST subject as terms in the eac xml, and still get a valid eac xml record?
Thank you very much,
Yael Gherman
Hi, Yael,
Thanks for you message! I think you may be using an earlier version of the
tool. The current version (v1.5.3) includes a fix to ensure valid @xml:id
attributes with FAST headings. It also includes some other enhancements, so
I would encourage you to download the latest version.
Please let me know if you have any other questions or run into other issues.
Best regards,
Tim
On Sat, May 10, 2014 at 5:58 PM, ygherman notifications@github.com wrote:
Oh, sorry, the full markup is:
[image: image]https://cloud.githubusercontent.com/assets/2689048/2937209/3b6ef4b0-d88e-11e3-8c83-d6a7307f0bf2.png
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-42755595
.