- From: <puninj@cs.rpi.edu>
- Date: Wed, 28 Mar 2001 22:18:42 -0500 (EST)
- To: www-rdf-comments@w3.org
- Cc: puninj@cs.rpi.edu
Hello
I think these are two errors that I found in Sirpac:
1) These two files should produce the same triples:
Example 1:
<?xml version="1.0"?>
<rdf:RDF
xmlns="http://www.foo.org/foo-ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description about="http://www.foo.org/res">
<prop1 rdf:parseType="Resource">
<prop2 rdf:parseType="Resource">
<value>6</value>
</prop2>
</prop1>
</rdf:Description>
</rdf:RDF>
Example 2:
<?xml version="1.0"?>
<rdf:RDF
xmlns="http://www.foo.org/foo-ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description about="http://www.foo.org/res">
<prop1 rdf:parseType="Resource">
<prop2 value="6"/>
</prop1>
</rdf:Description>
</rdf:RDF>
The first example produces this triple:
(online:#genid5, http://www.foo.org/foo-ns#value, 6)
The second example produces this triple:
(online:#genid5, value, 6)
where the "value" property does not belong to
the namespace: http://www.foo.org/foo-ns#
2) This example produces the following triples:
Example 3:
<rdf:RDF xmlns="http://www.foo.org/foo-ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description about="http://www.foo.org/res">
<prop rdf:resource="#n1"/>
</rdf:Description>
<rdf:Description ID="n1">
<prop2 rdf:resource="#n2"/>
</rdf:Description>
</rdf:RDF>
Triples:
(http://www.foo.org/res, http://www.foo.org/foo-ns#prop, online:##n1)
(online:#n1, http://www.foo.org/foo-ns#prop2, online:##n2)
I think the object of the triples should be:
online:#n1 instead of online:##n1, and
online:#n2 instead of online:##n2
Thanks for your help in this matter.
John Punin
Received on Wednesday, 28 March 2001 22:18:49 UTC