Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.
This repository was archived by the owner on Aug 30, 2018. It is now read-only.

constraintSpec seems to be in the wrong place #26

@martindholmes

Description

@martindholmes

The constraintSpec below is located in the classSpec which modifies att.global.rendition:

<constraintSpec ident="corresppointer" scheme="isoschematron">
            <constraint>
              <rule xmlns="http://purl.oclc.org/dsdl/schematron" context="tei:*[@corresp]">
                <let name="results"
                  value="for $t in        tokenize(normalize-space(@corresp),'\s+') return starts-with($t,'#') and not(id(substring($t,2)))"/>
                <report test="some $x in $results  satisfies $x"> Error: Every local pointer in "<value-of
                  select="@corresp"/>" must point to an ID in this document (<value-of select="$results"
                  />)</report>
              </rule>
            </constraint>

However, @corresp is defined in att.global.linking, not att.global.rendition. Unless I'm misunderstanding something, it should be moved.

This is in the file teisimple.odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions