File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -553,6 +553,9 @@ while ${attribute.value} and ${activeSubjectValue} where found.`);
553
553
} else if ( propertyAttribute . uri === RdfXmlParser . ITS && propertyAttribute . local === 'dir' ) {
554
554
this . setDirection ( activeTag , propertyAttribute . value ) ;
555
555
continue ;
556
+ } else if ( propertyAttribute . uri === RdfXmlParser . ITS && propertyAttribute . local === 'version' ) {
557
+ // Ignore its:version
558
+ continue ;
556
559
}
557
560
558
561
// Interpret attributes at this point as properties via implicit blank nodes on the property,
Original file line number Diff line number Diff line change @@ -1597,7 +1597,7 @@ abc`)).rejects.toBeTruthy();
1597
1597
xmlns:its="http://www.w3.org/2005/11/its"
1598
1598
rdf:version="1.2">
1599
1599
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
1600
- <dc:title xml:lang="en-us" its:dir="rtl">RDF 1.1 XML Syntax</dc:title>
1600
+ <dc:title xml:lang="en-us" its:dir="rtl" its:version="2.0" >RDF 1.1 XML Syntax</dc:title>
1601
1601
</rdf:Description>
1602
1602
</rdf:RDF>` ) ;
1603
1603
return expect ( array )
You can’t perform that action at this time.
0 commit comments