error in xquery

0 views
Skip to first unread message

Henry Story

unread,
Oct 29, 2006, 7:16:55 AM10/29/06
to atom...@googlegroups.com

Henry Story

unread,
Oct 30, 2006, 6:06:43 AM10/30/06
to atom...@googlegroups.com
Weird! The content of my mail dissappeard. (A Mail.app bug it seems,
second time this happens to me).

I am starting to write an APP library using the AtomOwl ontology.
Doing this I found a couple of bugs.

1. Wrong :content relation
--------------------------

I just noticed a bug in the xquery transform. It creates things like:

[] :entry [ a :Entry;
:content [ a :Content;
:type "text/xhtml";
:body [ :xhtml """blah blah"""; ]
];
] .

Which should be

[] :entry [ a :Entry;
:content [ a :Content;
:xhtml """blah blah""";
];
] .

or in N3

[] :entry [ a :Entry;
:content """blah blah"""^:xhtml;
] .


2. Bad escaping
----------------

I did not escape \ in content correctly.

I'll check these fixes in later.

Henry


Home page: http://bblfish.net/
Sun Blog: http://blogs.sun.com/bblfish/
Foaf name: http://bblfish.net/people/henry/card#me

On 29 Oct 2006, at 13:16, Henry Story wrote:

>

Reply all
Reply to author
Forward
0 new messages