![JAR search and dependency download from the Maven repository](/logo.png)
xml.Schematron.xsl Maven / Gradle / Ivy
/ @ [ ]
In pattern count(dtbk:meta[@name='dtb:uid'])=1:
dtb:uid metadata does not exist
In pattern count(dtbk:meta[@name='dc:Title'])=1:
dc:Title metadata does not exist
In pattern contains(@idref, '#'):
noteref URI value does not contain a fragment identifier
In pattern contains(@idref, '#') and string-length(substring-before(@idref, '#'))=0 and count(key('notes',substring(current()/@idref,2)))!=1:
noteref URI value does not resolve to a note element
In pattern contains(@idref, '#'):
annoref URI value does not contain a fragment identifier
In pattern contains(@idref, '#') and string-length(substring-before(@idref, '#'))=0 and count(key('annotations',substring(current()/@idref,2)))!=1:
annoref URI value does not resolve to a annotation element
In pattern count(//dtbk:*[@id=substring(current()/@href, 2)])=1:
internal link does not resolve
In pattern @enum and @type!='ol':
The enum attribute is only allowed in numbered lists
In pattern @depth and @depth!=count(ancestor-or-self::dtbk:list):
The depth attribute on list element does not contain the list wrapping level
In pattern starts-with(@name, 'dc:') and not(@name='dc:Title' or @name='dc:Subject' or @name='dc:Description' or @name='dc:Type' or @name='dc:Source' or @name='dc:Relation' or @name='dc:Coverage' or @name='dc:Creator' or @name='dc:Publisher' or @name='dc:Contributor' or @name='dc:Rights' or @name='dc:Date' or @name='dc:Format' or @name='dc:Identifier' or @name='dc:Language'):
Incorrect Dublin Core metadata name
In pattern starts-with(@name, 'DC:') or starts-with(@name, 'Dc:') or starts-with(@name, 'dC:'):
Incorrect Dublin Core metadata prefix
In pattern @depth=count(ancestor-or-self::dtbk:level):
The value of the depth attribute on the level element does not correspond to actual nesting level
In pattern @start and @type!='ol':
A start attribute occurs in a non-numbered list
In pattern @start='' or string-length(translate(@start,'0123456789',''))!=0:
The list start attribute is not a non negative number
In pattern count( ancestor::dtbk:table//dtbk:th/@id[contains( concat(' ',current()/@headers,' '), concat(' ',normalize-space(),' ') )] ) = string-length(normalize-space(@headers)) - string-length(translate(normalize-space(@headers), ' ','')) + 1:
Not all the tokens in the headers attribute match the id attributes of 'th' elements in this or a parent table
In pattern count( //dtbk:img/@id[contains( concat(' ',current()/@imgref,' '), concat(' ',normalize-space(),' ') )] ) = string-length(normalize-space(@imgref)) - string-length(translate(normalize-space(@imgref), ' ','')) + 1:
Not all the tokens in the imgref attribute match the id attributes of 'img' elements
In pattern count( //dtbk:img/@id[contains( concat(' ',current()/@imgref,' '), concat(' ',normalize-space(),' ') )] ) = string-length(normalize-space(@imgref)) - string-length(translate(normalize-space(@imgref), ' ','')) + 1:
Not all the tokens in the imgref attribute match the id attributes of 'img' elements
In pattern not(@width) or string-length(translate(@width,'0123456789',''))=0 or (contains(@width,'%') and substring-after(@width,'%')='' and translate(@width,'%0123456789','')='' and string-length(@width)>=2):
The image width is not expressed in integer pixels or percentage
In pattern not(@height) or string-length(translate(@height,'0123456789',''))=0 or (contains(@height,'%') and substring-after(@height,'%')='' and translate(@height,'%0123456789','')='' and string-length(@height)>=2):
The image height is not expressed in integer pixels or percentage
In pattern @span and (translate(@span,'0123456789','')!='' or starts-with(@span,'0')):
column span attribute is not a positive integer
In pattern @rowspan and (translate(@rowspan,'0123456789','')!='' or starts-with(@rowspan,'0')):
The rowspan attribute value is not a positive integer
In pattern @colspan and (translate(@colspan,'0123456789','')!='' or starts-with(@colspan,'0')):
The colspan attribute value is not a positive integer
In pattern @rowspan and number(@rowspan) > count(parent::dtbk:tr/following-sibling::dtbk:tr)+1:
The rowspan attribute value is larger than the number of rows left in the table
© 2015 - 2025 Weber Informatics LLC | Privacy Policy