Skip to content

Commit

Permalink
Merge pull request #2441 from TEIC/sydb_2433
Browse files Browse the repository at this point in the history
remove `<remarks>` from "deprecation-should-be-explained"
  • Loading branch information
raffazizzi authored Nov 9, 2023
2 parents 8ddff14 + 1cd975a commit a3ae9d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions P5/Source/Specs/att.combinable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $Id$
<classSpec xmlns="http://www.tei-c.org/ns/1.0" module="tagdocs" type="atts" ident="att.combinable">
<desc versionDate="2010-05-11" xml:lang="en">provides attributes indicating how multiple
references to the same object in a schema should be combined</desc>
<desc xml:lang="ja" versionDate="2019-01-19">あるスキーマにおける同一オブジェクトに対する複数の参照をどのように統合すべきか示す属性を提供する。</desc>
<desc xml:lang="ja" versionDate="2019-01-19">あるスキーマにおける同一オブジェクトに対する複数の参照をどのように統合すべきか示す属性を提供する。</desc>
<classes>
<memberOf key="att.deprecated"/>
</classes>
Expand Down Expand Up @@ -157,4 +157,4 @@ $Id$
<item>当該のオブジェクトと子、また先んじて存在するすべてのオブジェクトの子を<val>change</val>モードで処理する。</item>
</list></p>
</remarks>
</classSpec>
</classSpec>
7 changes: 3 additions & 4 deletions P5/Source/Specs/att.deprecated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ $Id$
<desc versionDate="2019-04-08" xml:lang="ja">非推奨の機能を将来のリリースでどのように扱うかを示す属性を提供する。</desc>
<attList>
<attDef ident="validUntil" usage="opt">
<desc versionDate="2013-05-16" xml:lang="en">provides a date before which the construct being defined
will not be removed.</desc>
<desc versionDate="2013-05-16" xml:lang="en">provides a date before which the construct being defined will not be removed.</desc>
<desc versionDate="2019-04-08" xml:lang="ja">定義されている構文が削除される前の日付を提供する。</desc>
<datatype minOccurs="1" maxOccurs="1">
<!--
Expand Down Expand Up @@ -42,7 +41,7 @@ $Id$
</constraintSpec>
<constraintSpec scheme="schematron" ident="deprecation-should-be-explained">
<constraint>
<sch:rule context="tei:*[@validUntil][ not( self::valDesc | self::valList | self::defaultVal )]">
<sch:rule context="tei:*[@validUntil][ not( self::tei:valDesc | self::tei:valList | self::tei:defaultVal | self::tei:remarks )]">
<sch:assert test="child::tei:desc[ @type eq 'deprecationInfo']">
A deprecated construct should include, whenever possible, an explanation, but this <sch:value-of select="name(.)"/> does not have a child &lt;desc type="deprecationInfo"&gt;</sch:assert>
</sch:rule>
Expand Down Expand Up @@ -73,4 +72,4 @@ $Id$
</remarks>
</attDef>
</attList>
</classSpec>
</classSpec>

0 comments on commit a3ae9d8

Please sign in to comment.