From 270e0436a871f61c4bb2d1ea2aa44e58de1e939e Mon Sep 17 00:00:00 2001 From: Anders Nilsson <anders.nilsson@cs.lth.se> Date: Thu, 30 Nov 2006 13:06:11 +0100 Subject: [PATCH] Cleaned up a bit --- CompilerGeneration.jrag | 2 +- owl.ast | 10 +++++----- siaras/Siaras.jjt | 2 +- testontologies/ontologyV07_instances.owl | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CompilerGeneration.jrag b/CompilerGeneration.jrag index 0c32a55..1f3549d 100644 --- a/CompilerGeneration.jrag +++ b/CompilerGeneration.jrag @@ -18,7 +18,7 @@ aspect AbsGrammarGeneration { public void Start.genAbsGrammar(PrintStream pStream) { pStream.println("// Predefined types"); - pStream.println("Start ::= ComplexElement;"); + pStream.println("Start ::= Element*;"); pStream.println("abstract Thing : ComplexElement ::=;"); pStream.println("abstract Element;"); pStream.println("ComplexElement : Element ::= OwlIdentifier Attribute* Element*;"); diff --git a/owl.ast b/owl.ast index fa954b2..63d1dfd 100644 --- a/owl.ast +++ b/owl.ast @@ -1,10 +1,10 @@ // -*-Java-*- -/* - * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> - * - * This file is part of OntologyCompiler. - */ + +// Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> +// +// This file is part of OntologyCompiler. + Start ::= Specification; diff --git a/siaras/Siaras.jjt b/siaras/Siaras.jjt index 81d4620..044ec09 100644 --- a/siaras/Siaras.jjt +++ b/siaras/Siaras.jjt @@ -284,7 +284,7 @@ SPECIAL_TOKEN : /* COMMENTS */ Start Start() #Start : {} { ("<?xml version=\"1.0\"?>")? - ComplexElement() + ElementList() { return jjtThis; } } diff --git a/testontologies/ontologyV07_instances.owl b/testontologies/ontologyV07_instances.owl index e8a6b55..af3de8d 100644 --- a/testontologies/ontologyV07_instances.owl +++ b/testontologies/ontologyV07_instances.owl @@ -985,7 +985,7 @@ <WormDiameter rdf:ID="WormDiameter_G1-2"> <isPropertyOf rdf:resource="#Schmalz_FSGPL_200_NBR-55_G1-2-IG"/> <value rdf:datatype="http://www.w3.org/2001/XMLSchema#string" - >G1/2"</value> + >G1/2</value> </WormDiameter> </hasProperty> <hasSkill> -- GitLab