Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Problem in save Protege OWL model to file with abbreviation in DOCTYPE declaration?

Dave butlerdi butlerdi at
Thu Feb 26 22:32:26 PST 2009

go to menu item OWL -> Preferences and on the first tab check the box in
Protoge Features "Import Protege Metadata Ontology". That should do it.

On Fri, Feb 27, 2009 at 6:57 AM, Truong Thi Thu Hien <
truong.hien at> wrote:

> Hi everyone,
> I am programming with Protege OWL model using Protege 3.4 beta.
> I would like to save the model with DOCTYPE XML support. Example:
> <domain:hasXmlNodeId rdf:datatype="*&xsd;string*">  instead of
> <domain:hasXmlNodeId
> rdf:datatype="**" .
> I google and found that it can be possible with JenaOWLModel by using
> *writer.setProperty("showDoctypeDeclaration", true)*, but when I convert
> Protege owl model to JenaOWLmodel, I get the error in this command:
> *owlModel.getJenaModel().setNsPrefix("xsd",
> "")*/;/
> /Exception in thread "main" java.lang.RuntimeException: Not supported yet
>        at
> edu.stanford.smi.protegex.owl.jena.graph.ProtegePrefixMapping.setNsPrefix(Unknown
> Source)
>        at
> com.hp.hpl.jena.graph.compose.PolyadicPrefixMappingImpl.setNsPrefix(
>        at
> com.hp.hpl.jena.rdf.model.impl.ModelCom.setNsPrefix(
> Can you give me any suggestion for my trouble?
> Thank you!
> Truong Hien
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing:


Dave Butler

Also on Skype as butlerdi

Get Skype here

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-owl mailing list