Skip to content
Snippets Groups Projects
Commit d0fedcff authored by Martin de la Iglesia's avatar Martin de la Iglesia
Browse files

RKD-RegEx ergänzt

parent 7a5f9c51
No related branches found
No related tags found
No related merge requests found
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
<rng:text/> <rng:text/>
</content> </content>
<constraintSpec scheme="schematron" ident="regex"> <constraintSpec scheme="schematron" ident="regex">
<constraint> <sch:assert test="matches(.,'(^http://d-nb\.info/gnd/[0-9]{7,9}-?[0-9]X?$)|(^http://vocab\.getty\.edu/ulan/[0-9]+$)|(^https://www\.bbkl\.de/index\.php/frontend/lexicon/)|(^https?://www\.deutsche-biographie\.de/.+\S$)|(^http://ta\.sandrart\.net/-person-[0-9]+$)')">Zeichenkette entspricht nicht den Vorgaben.</sch:assert> </constraint> <constraint> <sch:assert test="matches(.,'(^http://d-nb\.info/gnd/[0-9]{7,9}-?[0-9]X?$)|(^http://vocab\.getty\.edu/ulan/[0-9]+$)|(^https://www\.bbkl\.de/index\.php/frontend/lexicon/)|(^https?://www\.deutsche-biographie\.de/.+\S$)|(^http://ta\.sandrart\.net/-person-[0-9]+$)|(^https://rkd\.nl/explore/artists/[0-9]+$)')">Zeichenkette entspricht nicht den Vorgaben.</sch:assert> </constraint>
</constraintSpec> </constraintSpec>
<constraintSpec scheme="schematron" ident="docavailable1"> <constraintSpec scheme="schematron" ident="docavailable1">
<constraint><sch:rule context="tei:idno[@type='URI'][contains(.,'#')]"><sch:assert test="unparsed-text-available(substring-before(.,'#'))">ungültiger Hyperlink</sch:assert></sch:rule></constraint> <constraint><sch:rule context="tei:idno[@type='URI'][contains(.,'#')]"><sch:assert test="unparsed-text-available(substring-before(.,'#'))">ungültiger Hyperlink</sch:assert></sch:rule></constraint>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment