diff --git a/P5/Source/Specs/att.global.rendition.xml b/P5/Source/Specs/att.global.rendition.xml index 5f4de04293..11e4969a71 100644 --- a/P5/Source/Specs/att.global.rendition.xml +++ b/P5/Source/Specs/att.global.rendition.xml @@ -4,14 +4,8 @@ provides rendering attributes common to all elements in the TEI encoding scheme. TEIの符号化スキーマにおけるすべての要素に共通するレンダリング属性を提供する。 - - - - - - - - + + rendition 번역 interpretación @@ -169,8 +163,6 @@ the TEI header.

indicado por el atributo scheme (esquema).

- -
diff --git a/P5/Source/Specs/att.placement.xml b/P5/Source/Specs/att.placement.xml index b646fef54c..fe0f7753d9 100644 --- a/P5/Source/Specs/att.placement.xml +++ b/P5/Source/Specs/att.placement.xml @@ -14,6 +14,9 @@ identifica degli attributi che descrivono la collocazione di un elemento testuale all'interno della pagina o dell'oggetto di origine + + + specifies where this item is placed. @@ -124,6 +127,10 @@ Ibid, p.7 + +

The place attribute should be used only on elements containing the source material (predominantly within teiHeader + and text elements only where it makes sense).

+
diff --git a/P5/Source/Specs/att.source.xml b/P5/Source/Specs/att.source.xml new file mode 100644 index 0000000000..c4334e7ed1 --- /dev/null +++ b/P5/Source/Specs/att.source.xml @@ -0,0 +1,17 @@ + + + + + provides attributes for describing the source + rendition. + stellt Attribute für die Darstellung in der Quelle + zur Verfügung. + +

This class of elements refers to the content o the source but not its metadata.

+
+ +

Diese Elementklasse bezieht sich auf den Inhalt der Quelle, nicht auf deren + Metadaten.

+
+
diff --git a/P5/Source/Specs/att.written.xml b/P5/Source/Specs/att.written.xml index 728cf577f7..440240628b 100644 --- a/P5/Source/Specs/att.written.xml +++ b/P5/Source/Specs/att.written.xml @@ -7,7 +7,9 @@ the content of an element was written in the source being transcribed. stellt Attribute bereit, um anzuzeigen, von welcher Hand der Inhalt eines Elements in der transkribierten Quelle stammt. - + + + points to a handNote element describing the hand considered responsible for the diff --git a/P5/Test/detest_odd_schematron.log b/P5/Test/detest_odd_schematron.log new file mode 100644 index 0000000000..f202115277 --- /dev/null +++ b/P5/Test/detest_odd_schematron.log @@ -0,0 +1,35 @@ +Buildfile: /tei/P5/Test/antruntest.xml + +validateodd: + [echo] Validate detest.odd as ODD ... + [echo] ... against RelaxNG (../p5odds.rng) with jing ... + [echo] ... against Schematron (../p5odds.message.isosch.xsl) with Saxon via trax + [xslt] Processing /tei/P5/Test/detest.odd to /dev/null + [xslt] Loading stylesheet /tei/P5/p5odds.message.isosch.xsl + [xslt] Error: both the versionDate and xml:lang attributes on "remarks" are required when it is a child of "elementSpec". (@xml:lang and @versionDate) + [xslt] Error: both the versionDate and xml:lang attributes on "gloss" are required when it is a child of "elementSpec". (@xml:lang and @versionDate) + [xslt] Error: both the versionDate and xml:lang attributes on "desc" are required when it is a child of "elementSpec". (@xml:lang and @versionDate) + [xslt] Error: both the versionDate and xml:lang attributes on "gloss" are required when it is a child of "attDef". (@xml:lang and @versionDate) + [xslt] Error: both the versionDate and xml:lang attributes on "remarks" are required when it is a child of "elementSpec". (@xml:lang and @versionDate) + [xslt] An element reference is not repeatable when part of a schema specification (and thus this <elementRef> should not have @minOccurs or @maxOccurs). (@minOccurs | @maxOccurs / error) + [xslt] An element reference within a content model must refer to a locally defined element specification (and thus this <elementRef> should not have @source). (@source / error) + [xslt] In the context of tagset documentation, the listRef element must not self-nest. (tei:listRef) + [xslt] In the context of tagset documentation, each ptr or ref element inside a listRef must have a target attribute with only 1 pointer as its value. (@target and not( matches( @target,'\s') )) + [xslt] In the context of tagset documentation, each ptr or ref element inside a listRef must have a target attribute with only 1 pointer as its value. (@target and not( matches( @target,'\s') )) + [xslt] class membership (in this case of l) should be specified in sorted order, except att.global goes first. (string-join( $keys_as_specified ) eq string-join( $keys_in_order )) + [xslt] Rules in the ISO Schematron language must be inside a constraintSpec with the value 'schematron' on the scheme attribute (tei:constraint/sch:* and not( @scheme eq 'schematron')) + [xslt] Rules in the ISO Schematron language must be inside a constraintSpec with the value 'schematron' on the scheme attribute (tei:constraint/sch:* and not( @scheme eq 'schematron')) + [xslt] Rules in the ISO Schematron language must be inside a constraintSpec with the value 'schematron' on the scheme attribute (tei:constraint/sch:* and not( @scheme eq 'schematron')) + [xslt] The use of an <sch:assert> or <sch:report> that does not have a context (i.e., does not have an ancestor <sch:rule> with a @context attribute) in an ISO Schematron constraint specification is deprecated, and will become invalid after 2025-03-15. (( $assertsHaveContext, $reportsHaveContext ) = false() / warning) + [xslt] The @scheme attribute of <constraintSpec> is required when the @mode is not specified (here on "add_missing_scheme") (@scheme) + [xslt] The @scheme attribute of <constraintSpec> is required when the @mode is "replace" (here on "replace_missing_scheme") (@scheme) + [xslt] The @scheme attribute of <constraintSpec> is required when the @mode is not specified (here on "add_missing_scheme") (@scheme) + [xslt] The @scheme attribute of <constraintSpec> is required when the @mode is "replace" (here on "replace_missing_scheme") (@scheme) + [xslt] Since the @default-is-in-list-req attribute is required, it will always be specified. Thus the default value (of "ONE") will never be used. Either change the definition of the attribute so it is not required ("rec" or "opt"), or remove the defaultVal element. (tei:defaultVal) + [xslt] Since the @default-NOT-in-list-req attribute is required, it will always be specified. Thus the default value (of "ONE") will never be used. Either change the definition of the attribute so it is not required ("rec" or "opt"), or remove the defaultVal element. (tei:defaultVal) + [xslt] In the elementSpec defining blort2 the default value of the @default-NOT-in-list-opt attribute is not among the closed list of possible values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident) + [xslt] In the elementSpec defining blort2 the default value of the @default-NOT-in-list-rec attribute is not among the closed list of possible values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident) + [xslt] In the elementSpec defining blort2 the default value of the @default-NOT-in-list-req attribute is not among the closed list of possible values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident) + +BUILD SUCCESSFUL +Total time: 0 seconds diff --git a/P5/Test/detest_xml_relaxng.log b/P5/Test/detest_xml_relaxng.log new file mode 100644 index 0000000000..48a294155d --- /dev/null +++ b/P5/Test/detest_xml_relaxng.log @@ -0,0 +1,79 @@ +detest.xml +detest.xml:78:13: error: unfinished content of element http://www.tei-c.org/ns/1.0^lg +required: + element http://www.tei-c.org/ns/1.0^l + element http://www.tei-c.org/ns/1.0^stage + element http://www.tei-c.org/ns/1.0^desc + element http://www.tei-c.org/ns/1.0^label + element http://www.tei-c.org/ns/1.0^lg +detest.xml:195:10: error: attribute ^truth with invalid value "no" +required: + data http://www.w3.org/2001/XMLSchema-datatypes^boolean +detest.xml:197:10: error: attribute http://www.w3.org/XML/1998/namespace^lang not allowed +required: + after +detest.xml:200:10: error: attribute ^enumerated with invalid value " dog breath" +required: + data http://www.w3.org/2001/XMLSchema-datatypes^token +detest.xml:205:10: error: attribute ^name with invalid value "123" +required: + data http://www.w3.org/2001/XMLSchema-datatypes^Name +detest.xml:214:10: error: unfinished content of element http://www.tei-c.org/ns/1.0^lg +required: + element http://www.tei-c.org/ns/1.0^l +detest.xml:241:37: error: invalid data or text not allowed +required: + element http://www.tei-c.org/ns/1.0^add + element http://www.tei-c.org/ns/1.0^surplus + element http://www.tei-c.org/ns/1.0^del + element http://www.tei-c.org/ns/1.0^milestone + element http://www.tei-c.org/ns/1.0^gb + element http://www.tei-c.org/ns/1.0^pb + element http://www.tei-c.org/ns/1.0^lb + element http://www.tei-c.org/ns/1.0^cb + element http://www.tei-c.org/ns/1.0^fw + element http://www.tei-c.org/ns/1.0^anchor +detest.xml:261:11: error: attribute ^target with invalid value "#spanTest" +required: + data http://www.w3.org/2001/XMLSchema-datatypes^anyURI +detest.xml:267:11: error: missing attributes of http://www.tei-c.org/ns/1.0^media +required: + attribute ^url +detest.xml:268:11: error: missing attributes of http://www.tei-c.org/ns/1.0^media +required: + attribute ^mimeType +detest.xml:274:51: error: invalid data or text not allowed +required: + after +detest.xml:275:41: error: invalid data or text not allowed +required: + after +detest.xml:276:61: error: invalid data or text not allowed +required: + after +detest.xml:277:25: error: invalid data or text not allowed +required: + after +detest.xml:341:12: error: element http://www.tei-c.org/ns/1.0^altIdentifier not allowed +required: + element http://www.tei-c.org/ns/1.0^msIdentifier +detest.xml:344:10: error: unfinished content of element http://www.tei-c.org/ns/1.0^msPart +required: + element http://www.tei-c.org/ns/1.0^msIdentifier +detest.xml:373:10: error: element http://www.tei-c.org/ns/1.0^idno not allowed +required: + after +allowed: + element http://www.tei-c.org/ns/1.0^series + element http://www.tei-c.org/ns/1.0^monogr + element http://www.tei-c.org/ns/1.0^note + element http://www.tei-c.org/ns/1.0^noteGrp + element http://www.tei-c.org/ns/1.0^ptr + element http://www.tei-c.org/ns/1.0^ref + element http://www.tei-c.org/ns/1.0^listRef + element http://www.tei-c.org/ns/1.0^relatedItem + element http://www.tei-c.org/ns/1.0^citedRange +detest.xml:451:12: error: attribute ^target with invalid value "" +required: + data http://www.w3.org/2001/XMLSchema-datatypes^anyURI +error: some documents are invalid diff --git a/P5/Test/detest_xml_schematron.log b/P5/Test/detest_xml_schematron.log new file mode 100644 index 0000000000..a6a6e8b84d --- /dev/null +++ b/P5/Test/detest_xml_schematron.log @@ -0,0 +1,41 @@ +The @generatedBy attribute is for use within a <post> element. (ancestor-or-self::tei:post) +The @generatedBy attribute is for use within a <post> element. (ancestor-or-self::tei:post) + The element indicated by @spanTo (#ds2) must follow the current delSpan element (id( substring( @spanTo, 2 ) ) >> .) + @schemeVersion can only be used if @scheme is specified. (@scheme and not(@scheme = 'free')) +The abbr element should not be categorized in detail with @subtype unless also categorized in general with @type (@type) +The div element should not be categorized in detail with @subtype unless also categorized in general with @type (@type) + @calendar indicates one or more systems or calendars to which the date represented by the content of this element belongs, but this date element has no textual content. (string-length( normalize-space(.) ) gt 0) +The content of a "gloss" list should include a sequence of one or more pairs of a label element followed by an item element (tei:label) +An lg element must contain at least one child l, lg, or gap element. (count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) > 0) + On quotation, either the @marks attribute should be used, or a paragraph of description provided (not( @marks ) and not( tei:p )) +You may not nest one s element within another: use seg instead (tei:s) + Only one of the attributes @target and @from may be supplied on span + (@from and @target) + Only one of the attributes @target and @to may be supplied on span + (@to and @target) + If @to is supplied on span, @from must be supplied as well (@to and not(@from)) + The @location value "external" is inconsistent with the parallel-segmentation method of apparatus markup. (@location eq 'external' and @method eq 'parallel-segmentation') + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) + A facsimile element represents a text with images, thus transcribed text should not be present within it. (child::text()[ normalize-space(.) ne '']) +The @spanTo attribute of delSpan is required. (@spanTo) +The @spanTo attribute of delSpan is required. (@spanTo) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) +subst must have at least one child add and at least one child del or surplus (child::tei:add and (child::tei:del or child::tei:surplus)) + Only one physDesc is allowed as a child of msDesc. (preceding-sibling::*[ name(.) eq $gi ] and not( following-sibling::*[ name(.) eq $gi ] )) + Only one history is allowed as a child of msDesc. (preceding-sibling::*[ name(.) eq $gi ] and not( following-sibling::*[ name(.) eq $gi ] )) + Only one additional is allowed as a child of msDesc. (preceding-sibling::*[ name(.) eq $gi ] and not( following-sibling::*[ name(.) eq $gi ] )) +In the context of tagset documentation, the listRef element must not self-nest. (tei:listRef) +In the context of tagset documentation, each ptr or ref element inside a listRef must have a target attribute with only 1 pointer as its value. (@target and not( matches( @target,'\s') )) +In the context of tagset documentation, each ptr or ref element inside a listRef must have a target attribute with only 1 pointer as its value. (@target and not( matches( @target,'\s') )) + The @new attribute should always be supplied; use the special value "normal" to indicate that the feature concerned ceases to be remarkable at this point. (@new / warning) + Abstract model violation: Metrical lines may not contain higher-level structural elements such as div, p, or ab, unless p is a child of figure or note, or is a descendant of floatingText. (ancestor::tei:floatingText | parent::tei:figure | parent::tei:note)