From c5dc13bea94dc56aea0fd94b1fb12142d08e509b Mon Sep 17 00:00:00 2001 From: Anders Nilsson <anders.nilsson@cs.lth.se> Date: Tue, 28 Nov 2006 09:40:56 +0100 Subject: [PATCH] can now parse and dump tree of ontologyV07.owl --- siaras/Siaras.jjt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/siaras/Siaras.jjt b/siaras/Siaras.jjt index 6c75c1f..d6c5b85 100644 --- a/siaras/Siaras.jjt +++ b/siaras/Siaras.jjt @@ -176,7 +176,7 @@ SPECIAL_TOKEN : /* COMMENTS */ <DEFAULT, BOUNDS> TOKEN : /* IDENTIFIERS */ { - < IDENTIFIER: <LETTER> (<LETTER>|<DIGIT>)* > + < IDENTIFIER: <LETTER> (<LETTER>|<DIGIT>|":")* > | < #LETTER: [ @@ -612,10 +612,10 @@ void StringElement() #StringElement : {} //{ Token t; } void Attribute() : {} { -// Version() - RdfAttribute() -// | XmlAttribute() -// | XmlnsAttribute() + Version() + | RdfAttribute() + | XmlAttribute() + | XmlnsAttribute() } void Version() #Version : {} @@ -629,7 +629,7 @@ void RdfAttribute() : {} | RdfDatatype() | RdfId() | RdfResource() -// | RdfParseType() + | RdfParseType() } void RdfAbout() #RdfAbout : {} -- GitLab