Status: New
Owner: [email protected]
CC: [email protected]
Labels: Type-Defect Priority-High Milestone-Release-2.0 Component-Archival-Description Component-Import-Export

New issue 2328 by [email protected]: Dublin Core export creates non-compliant XML documents
http://code.google.com/p/qubit-toolkit/issues/detail?id=2328

To reproduce this error:
========================
1)Go to CVA: http://searcharchives.vancouver.ca/railroad-trestle-tracks-and-b-m-s-co-ltd-freight-cars-at-1200-foot-level-at-britannia-mines;rad

2)Select Dublin Core Export


Resulting error:
================
Chrome: This page contains the following errors: "error on line 8 at column 46: xmlParseEntityRef: no name"
Firefox: XML parsing error: not well formed

Expected result:
================
View XML for record


Some of the “Dublin Core” files are non-compliant XML documents.
Consider the file for Item “AM54-S4-3-: PAN N38″. The culprit is the “&”
character in the title. Outside of a CDATA section, it’s seen as a
syntax marker and not as a shorthand for “and”. For compliance, it needs
to be replaced by the predefined character entity “&”.
Some XML parsers, like the one used by Opera browser, are not forgiving
and reject the whole document.

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to