Closed
Bug 306320
Opened 19 years ago
Closed 9 months ago
RDF:parseType="Resource" broken for anonymous resources/blank nodes
Categories
(Core Graveyard :: RDF, defect)
Core Graveyard
RDF
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: axel, Assigned: andrew)
References
()
Details
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foo="http://foo/">
<foo:Bar>
<rdf:li rdf:parseType="Resource">
<rdf:type rdf:resource="http://foo/Bar"/>
</rdf:li>
</foo:Bar>
</rdf:RDF>
gets parsed into
_:AAAAsxhsH1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://foo/Bar>.
_:AAAAsxhsH1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#li> _:AAAAtxhsH1 .
_:AAAAtxhsH1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> .
The type of the second blank node is wrong, because it takes the rdf:type
as object.
Comment 1•19 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
This is fixed by the patch on bug 349969 (which is waiting for a reviewer to come forward, as Pike and Shaver are too busy until after Firefox 2.0 comes out).
With the patch:
[amil082@bioeng135 bin]$ LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH ./triplescat file://`pwd`/test.rdf
<rdf:#$uSiEx2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://foo/Bar> .
<rdf:#$tSiEx2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://foo/Bar> .
<rdf:#$tSiEx2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <rdf:#$uSiEx2> .
<rdf:#$tSiEx2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nextVal> "2" .
Status: NEW → ASSIGNED
Depends on: 349969
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → ak.miller
Status: ASSIGNED → NEW
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Updated•6 years ago
|
Product: Core → Core Graveyard
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•