Skip to content

Commit c93c304

Browse files
committed
Fix for xsltproc.
1 parent 9498734 commit c93c304

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

rules/09-7XX.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,12 @@
597597
<sf code="i" chopPunct="true">
598598
<select xpath="ancestor::bf:Relation/bf:relationship[
599599
(
600-
exists(@rdf:resource) and
600+
@rdf:resource and
601601
not(contains($vRelStrs, @rdf:resource)) and
602602
not(contains(@rdf:resource, 'ontologies/bibframe'))
603603
) or
604604
(
605-
exists(bf:Relationship/@rdf:about) and
605+
bf:Relationship/@rdf:about and
606606
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
607607
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
608608
)
@@ -612,12 +612,12 @@
612612
613613
ancestor::bflc:Relationship/bflc:relation[
614614
(
615-
exists(@rdf:resource) and
615+
@rdf:resource and
616616
not(contains($vRelStrs, @rdf:resource)) and
617617
not(contains(@rdf:resource, 'ontologies/bibframe'))
618618
) or
619619
(
620-
exists(bf:Relationship/@rdf:about) and
620+
bf:Relationship/@rdf:about and
621621
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
622622
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
623623
)
@@ -680,12 +680,12 @@
680680
<sf code="4" chopPunct="true">
681681
<select xpath="ancestor::bf:Relation/bf:relationship[
682682
(
683-
exists(@rdf:resource) and
683+
@rdf:resource and
684684
not(contains($vRelStrs, @rdf:resource)) and
685685
not(contains(@rdf:resource, 'ontologies/bibframe'))
686686
) or
687687
(
688-
exists(bf:Relationship/@rdf:about) and
688+
bf:Relationship/@rdf:about and
689689
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
690690
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
691691
)
@@ -695,12 +695,12 @@
695695
696696
ancestor::bflc:Relationship/bflc:relation[
697697
(
698-
exists(@rdf:resource) and
698+
@rdf:resource and
699699
not(contains($vRelStrs, @rdf:resource)) and
700700
not(contains(@rdf:resource, 'ontologies/bibframe'))
701701
) or
702702
(
703-
exists(bf:Relationship/@rdf:about) and
703+
bf:Relationship/@rdf:about and
704704
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
705705
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
706706
)
@@ -1603,12 +1603,12 @@
16031603
<sf code="i" chopPunct="true">
16041604
<select xpath="ancestor::bf:Relation/bf:relationship[
16051605
(
1606-
exists(@rdf:resource) and
1606+
@rdf:resource and
16071607
not(contains($vRelStrs, @rdf:resource)) and
16081608
not(contains(@rdf:resource, 'ontologies/bibframe'))
16091609
) or
16101610
(
1611-
exists(bf:Relationship/@rdf:about) and
1611+
bf:Relationship/@rdf:about and
16121612
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
16131613
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
16141614
)
@@ -1622,12 +1622,12 @@
16221622
<sf code="4">
16231623
<select xpath="ancestor::bf:Relation/bf:relationship[
16241624
(
1625-
exists(@rdf:resource) and
1625+
@rdf:resource and
16261626
not(contains($vRelStrs, @rdf:resource)) and
16271627
not(contains(@rdf:resource, 'ontologies/bibframe'))
16281628
) or
16291629
(
1630-
exists(bf:Relationship/@rdf:about) and
1630+
bf:Relationship/@rdf:about and
16311631
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
16321632
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
16331633
)
@@ -1643,12 +1643,12 @@
16431643
<sf code="4">
16441644
<select xpath="ancestor::bf:Relation/bf:relationship[
16451645
(
1646-
exists(@rdf:resource) and
1646+
@rdf:resource and
16471647
not(contains($vRelStrs, @rdf:resource)) and
16481648
not(contains(@rdf:resource, 'ontologies/bibframe'))
16491649
) or
16501650
(
1651-
exists(bf:Relationship/@rdf:about) and
1651+
bf:Relationship/@rdf:about and
16521652
not(contains($vRelStrs, bf:Relationship/@rdf:about)) and
16531653
not(contains(bf:Relationship/@rdf:about, 'ontologies/bibframe'))
16541654
)

0 commit comments

Comments
 (0)