Inside the rdf:RDF tag, type the following three lines:
Notice that as you type, Syntax Highlighting colors the text appropriately. Language elements appears bold and green while non-recognized language elements appear dark red. Comments appear grey, strings blue, and literals in dark blue.
Before closing the owl:Ontology tag, pause for a moment. Notice that the delayed syntax checker will parse the document and the document outline will identify the block that you are entering as unparseable.
If you were to save the document at this point, a full parse would be performed and the unparseable section of code would be underlined in red within the document editor.
Completing the owl:Ontology tag and then saving the document again will reparse and update the outline and editor views to reflect the corrections.
SWeDE remembers invalid XML fragments when it is shut down so the document can still be parsed the next time you start Eclipse.
The New OWL Document wizard automatically added an xml:base attribute to the rdf:RDF tag, but we also want to specify a matching default namespace. The OWL Source Editor supports standard editor commands such as cut, copy, paste, undo, and redo, so you won't have to retype the entire URL. Just type xmlns="" in the open tag for rdf:RDF, then copy and paste the URI using either the standard keyboard shortcuts for your operating system or the OWL Source Editor context menu. Add a '#' at the end of the xmlns attribute to make it a valid namespace URI.
OWL Editors and Visualizers
Copyright (c) 1999-2004, BBN Technologies, LLC. All rights reserved.
Making an OWL Ontology
Using the RDF-XML Editor