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 gmail.com
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 lab.ntt.co.jp> 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="*http://www.w3.org/2001/XMLSchema#string*" .
> 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",
> "http://www.w3.org/2001/XMLSchema#")*/;/
>
> /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(PolyadicPrefixMappingImpl.java:40)
>        at
> com.hp.hpl.jena.rdf.model.impl.ModelCom.setNsPrefix(ModelCom.java:792)/
>
>
> Can you give me any suggestion for my trouble?
> Thank you!
>
> Truong Hien
>
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>



-- 
Regards

Dave Butler
butlerdi-at-pharm2phork-dot-org

Also on Skype as butlerdi

Get Skype here http://www.skype.com/download.html


**********************************************************************
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.

www.mimesweeper.com
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090227/7e6755a5/attachment.html>


More information about the protege-owl mailing list