Skip to content
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

Sort out FIGURE and GRAPHIC elements #174

Open
3 tasks
ilovan opened this issue Sep 26, 2019 · 1 comment
Open
3 tasks

Sort out FIGURE and GRAPHIC elements #174

ilovan opened this issue Sep 26, 2019 · 1 comment
Assignees
Labels
Orlando any of the Orlando schemas question

Comments

@ilovan
Copy link
Contributor

ilovan commented Sep 26, 2019

Current status:

Defined as follows:

<define name="FIGURE">
        <element name="FIGURE">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The
                figure element groups elements representing or containing graphic information such
                as an illustration, formula, or figure.</a:documentation>
            <oneOrMore>
                <choice>
                    <ref name="HEAD"/>
                    <element name="FIGDESC">
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">FigDesc
                            (description of figure) contains a brief prose description of the
                            appearance or content of a graphic figure, for use when documenting an
                            image without displaying it.</a:documentation>
                        <text/>
                        <ref name="BIBCITS"/>
                        <ref name="DATE"/>
                        <ref name="NAME"/>
                        <ref name="ORGNAME"/>
                        <ref name="PLACE"/>
                        <ref name="TITLE"/>
                        <ref name="XREF"/>
                    </element>
                    <ref name="GRAPHIC"/>
                    <ref name="P"/>
                </choice>
            </oneOrMore>
        </element>
    </define>
<define name="GRAPHIC">
        <element name="GRAPHIC">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Graphic
                indicates the location of an inline graphic, illustration, or
                figure.</a:documentation>
            <attribute name="URL">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">URL
                    (uniform resource locator) specifies the URL from which the media concerned may
                    be obtained.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </element>
    </define>

Currently allowed as follows:

FIGURE allowed in CHRONPROSE, DATAITEM, P, RESEARCHNOTE
GRAPHIC allowed in CHRONPROSE, DATAITEM, FIGURE, P, RESEARCHNOTE

Proposal

Seems that the definition, structure and location of the Figure element should be brought as much as possible in line with its use in TEI.

I propose:

  • allow FIGURE in DIV 0, DIV 1, DIV 2, CHRONSTRUCT, DATAITEM;
  • allow GRAPHIC only in FIGURE
  • add FIGDESC within FIGURE.

WDYT, @SusanBrown ?

@ilovan ilovan added question Orlando any of the Orlando schemas labels Sep 26, 2019
@SusanBrown
Copy link

Agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Orlando any of the Orlando schemas question
Projects
None yet
Development

No branches or pull requests

2 participants