-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a new <formattingExtension> element as a choice next to <p> to group current formatting elements #62
Comments
Just a note that I still need to work on this. I'm unclear if we're going to try to validate a subset of XHTML, or just treat this element like objectXMLWrap in a specific namespace? |
Ideally, we would want to validate a subset of XHTML included in |
For a high-level conversion route (details will follow at a later stage) of the current block elements in EAD3:
|
@marieelia - Adding you for information at the moment as this change might then also be applied to EAC-CPF at a later stage. I've currently categorised this as a major revision item. |
With regard to XHTML in
In the test file validating against the XSD, Oxygen does not suggest any sub-elements, e.g. for the lists or the table element, neither from XHTML, nor EAD. In the test file validating against the RNG, however, Oxygen suggests EAD elements as possible sub-elements of the XHTML elements. The latter case should definitely be avoided, so a stricter binding to the XHTML namespace might be required here. |
Additionally, and apologies that I am only realising now that this was not specified before: |
Regarding the above example, the "formattingExtension" element itself would still need to be in the EAD4 / EAS (if we converge to one namespace, which I think we can) namespace. Alternatively a custom element by that name could be defined for HTML, but I don't know how that would work with how we currently manage our tag library, etc. Anyhow, I'm going to keep the "Needs More Work" label on this issue for the time being while we work out the validation process for this extension. |
Ah, yes, true. My mistake - misread and misadapted the encoding used for |
As an interim test report: the choice between However, there's now a difference between the two schema versions:
|
Note: I've updated this as ready for testing due to updates for the XHTML embedding features being supported now, but I haven't yet the availability issue noted above. I'll keep this issue with labels of both 'ready for testing' and 'needs more work' to cover both features. |
Note: I've pushed a quick fix of the RNG + XSD difference regarding the availability of this element within the former Another note: See issue #100. I think there is another issue with the RNG / NVDL combo. Won't have time to investigate until after the call for comments goes out, so just an FYI (and why we'll continue to hit the XSD version of the schema in the NVDL file). |
Retested with XSD and RNG and can confirm, that an choice between The only context in which For validation against the XHTML namespace see the NVDL file under https://github.com/SAA-SDT/eas-schemas/tree/development/xml-schemas/ead |
Creator of issue
The issue relates to
Wanted change/feature
<formattingExtension>
to enable any formatting of text that goes beyond a simple<p>
tag. The idea is to add a choice between using just<p>
and using<formattingExtension>
, which would have a similar function as the element<objectXMLWrap>
, but would come with the XHTML namespace predefined and be recommended for use with elements that allow the creation of lists, tables, etc.<formattingExtension>
would thereby "incorporate" those elements that the EAS initially adapted/borrowed from HTML and bring them back into their original namespace.<p>
and<head>
(when used with the numbered and unnumbered<c>
elements or<did>
) from the EAS schemas.Note for working on and testing this issue: When the schema changes are done in development branch, please mark this by ticking the box for the higher level in the list (printed in bold); once the changes have been tested successfully please mark this by ticking the box on the lower and intermediate (printed in italics) levels.
<formattingExtension>
as a choice next to<p>
in<accessConditions>
(renamed from<accessrestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)<accruals>
renamed to<acqinfo>
<sourceOfAcquisition>
<formAvailable>
(replacing<altformavail>
,<originalsloc>
,<dao>
, and<daoset>
, see Add new element <formAvailable> to encode any type of instantiations of the materials described #65)<appraisal>
<arrangement>
<publicationNote>
(renamed from<bibliography>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<biogHist>
<subjectHeadings>
(renamed from<controlaccess>
and incorporating<index>
, see Rename <controlaccess> to <subjectHeadings> and combine with <index> #67)<custodHist>
<descriptionOfComponents
> (renamed from<dsc>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<filePlan>
renamed to<odd>
<otherDescriptiveInfo>
<otherFindAid>
renamed to<physTech>
<physicalOrTechnicalRequirements>
<preferCite>
<processInfo>
<relatedMaterial>
<scopeContent>
<separatedMaterial>
<useConditions>
(renamed from<userestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)<formattingExtension>
<h1>
to<h6>
,<blockquote>
,<p>
, different types of lists (<dl>
,<ol>
,<ul>
),<table>
,<div>
and others@audience
,@id
, and@target
(same as<objectXMLWrap>
)<blockquote>
,<chronList>
,<list>
, and<table>
with all their sub-elements and attributes from<accessConditions>
(renamed from<accessrestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)<accruals>
renamed to<acqinfo>
<sourceOfAcquisition>
<formAvailable>
(replacing<altformavail>
,<originalsloc>
,<dao>
, and<daoset>
, see Add new element <formAvailable> to encode any type of instantiations of the materials described #65)<appraisal>
<arrangement>
<publicationNote>
(renamed from<bibliography>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<biogHist>
<subjectHeadings>
(renamed from<controlaccess>
and incorporating<index>
, see Rename <controlaccess> to <subjectHeadings> and combine with <index> #67)<custodHist>
<descriptionOfComponents
> (renamed from<dsc>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<filePlan>
renamed to<odd>
<otherDescriptiveInfo>
<otherFindAid>
renamed to<physTech>
<physicalOrTechnicalRequirements>
<preferCite>
<processInfo>
<relatedMaterial>
<scopeContent>
<separatedMaterial>
<useConditions>
(renamed from<userestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)<blockquote>
,<chronList>
,<list>
, and<table>
with any sub-elements and attributes that are only used in their context will be removed from EAD. This refers to the following:<blockquote>
<chronList>
<chronItem>
<event>
<chronItemSet>
<listhead>
<head01>
<head02>
<head03>
<list>
<defitem>
<item>
<label>
<table>
<tgroup>
<colspec>
<thead>
<tbody>
<row>
<entry>
@listtype
@mark
@numeration
@colsep
@frame
@pgwide
@rowsep
@align
@cols
@char
@charoff
@colname
@colnum
@colwidth
@valign
@morerows
@nameend
@namest
<head>
from<accessConditions>
(renamed from<accessrestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)<accruals>
renamed to<acqinfo>
<sourceOfAcquisition>
<formAvailable>
(replacing<altformavail>
,<originalsloc>
,<dao>
, and<daoset>
, see Add new element <formAvailable> to encode any type of instantiations of the materials described #65)<appraisal>
<arrangement>
<publicationNote>
(renamed from<bibliography>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<biogHist>
<subjectHeadings>
(renamed from<controlaccess>
and incorporating<index>
, see Rename <controlaccess> to <subjectHeadings> and combine with <index> #67)<custodHist>
<descriptionOfComponents
> (renamed from<dsc>
, see Rename certain elements for better alignment with ISAD(G), DACS, etc. respectively for being better understandable #66)<filePlan>
renamed to<odd>
<otherDescriptiveInfo>
<otherFindAid>
renamed to<physTech>
<physicalOrTechnicalRequirements>
<preferCite>
<processInfo>
<relatedMaterial>
<scopeContent>
<separatedMaterial>
<useConditions>
(renamed from<userestrict>
, see Rename <accessrestrict> and <userestrict> and update their content model #60)For changes to
<legalStatus>
see #5.For changes regarding
<footnote>
see #63.The text was updated successfully, but these errors were encountered: