cashew-s-editor-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CASHeW-s-editor-patches] RDF #05: Blank nodes


From: Andrew John Hughes
Subject: [CASHeW-s-editor-patches] RDF #05: Blank nodes
Date: Mon, 4 Apr 2005 16:35:01 +0100
User-agent: Mutt/1.5.6+20040907i

(Now you engine guys get to see this stuff too... ;) )

I'm committing the attached patch, which allows the RDF parser to handle
blank nodes for the subject and object of a triple.  This allows example
6 from the RDF primer to be successfully parsed and a graph created.

Changelog:

2005-04-04  Andrew John Hughes  <address@hidden>

        * src/nongnu/cashews/rdf/RDFURI.java:
        Documentation correction.
        * src/nongnu/cashews/rdf/XMLParser.java:
        (startDocument(String,String,String,org.xml.sax.Attributes)):
        Added handling of blank nodes for the subject and object.
        * src/nongnu/cashews/rdf/Blank.java:
        New class.
        (id): New field.
        (Blank(String)): New constructor.
        (toString()): New method.
        (clone()): New method.
        (setIdentifier(String)): New method.

-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: rdf-05.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]