W3C home > Mailing lists > Public > public-owl-wg@w3.org > May 2009

Re: Status of OWL 2 XML Serialization

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Tue, 19 May 2009 15:17:34 -0400
Message-ID: <29af5e2d0905191217y7261dcd6jea3d324e07be2f9@mail.gmail.com>
To: "Peter F.Patel-Schneider" <pfps@research.bell-labs.com>
Cc: ian.horrocks@comlab.ox.ac.uk, public-owl-wg@w3.org
You don't want that because then the XML markup becomes html markup.
The problem is that the XML comments become html comments and so don't
show up ;-)

Try:

<pre>
hello
<!-- help! -->
goodbye
</pre>

In your browser.

The closest I've got is:
http://www.w3.org/2007/OWL/wiki/OWL_XML_Schema_test_include, however
comments are lost and there is still an extra level of "&" quoting. I
could probably get rid of the &amp; but the comments are deadly.

One could either a) write a javascript that GETs the schema, quotes it
properly and then document.writes that, b) extend mediawiki with
another parser hook that does the quoting (sample code in Parser.php
and and CoreParserFunctions.php) or c) use an iframe with a cgi to
bounce the http://www.w3.org/2007/OWL/wiki/OWL_XML_Schema_test?action=raw
through to do the quoting.

If we were to hassle any more I would go with (a).

-Alan

On Tue, May 19, 2009 at 2:11 PM, Peter F.Patel-Schneider
<pfps@research.bell-labs.com> wrote:
> That requires messing with the XML Schema itself, which may not be the
> best idea, even though whitespace is ignored by readers.
>
> I would have hoped that there would be an include verbatim thing in
> MediaWiki.
>
> peter
>
>
> From: Alan Ruttenberg <alanruttenberg@gmail.com>
> Subject: Re: Status of OWL 2 XML Serialization
> Date: Tue, 19 May 2009 13:03:41 -0500
>
>> I think this can be worked around by instead of wrapping the schema in
>> <pre> tags, instead putting a space in front of each line in the
>> source that doesn't already start with a space.
>>
>> The whitespace should be ignored by schema readers, and the initial
>> space forces the line to be preformatted.
>>
>> I'm still looking for a cleaner solution.
>>
>> -Alan
>>
>> On Tue, May 19, 2009 at 12:03 PM, Ian Horrocks
>> <ian.horrocks@comlab.ox.ac.uk> wrote:
>>>
>>>
>>> Begin forwarded message:
>>>
>>>> From: Michael Grove <mike@clarkparsia.com>
>>>> Date: 19 May 2009 17:01:03 BDT
>>>> To: Ian Horrocks <ian.horrocks@comlab.ox.ac.uk>
>>>> Cc: Kendall Clark <kendall@clarkparsia.com>
>>>> Subject: Re: Status of OWL 2 XML Serialization
>>>>
>>>> Yeah, I sent a message to the list yesterday saying it looked ok, but I
>>>> got the bounce saying it needed moderator approval.  I guess it's still
>>>> waiting for that.
>>>>
>>>> It looks fine.  The only thing I noticed was the same thing that Rinke
>>>> brought up, the schema downloads wrapped in a pre tag which is probably not
>>>> what the intent is.  But other than that, it's ok.
>>>>
>>>> Cheers,
>>>>
>>>> Mike
>>>>
>>>> On May 19, 2009, at 11:58 AM, Ian Horrocks wrote:
>>>>
>>>>> Did you get a chance to look at it yet? We are hoping to have a vote on
>>>>> moving to CR on Wednesday.
>>>>>
>>>>> Thanks,
>>>>> Ian
>>>>>
>>>>>
>>>>>
>>>>> Begin forwarded message:
>>>>>
>>>>>> From: Ian Horrocks <ian.horrocks@comlab.ox.ac.uk>
>>>>>> Date: 16 May 2009 15:58:21 BDT
>>>>>> To: Rinke Hoekstra <hoekstra@few.vu.nl>, mike@clarkparsia.com
>>>>>> Cc: "OWL 1.1" <public-owl-wg@w3.org>, Kendall Clark
>>>>>> <kendall@clarkparsia.com>
>>>>>> Subject: Status of OWL 2 XML Serialization
>>>>>>
>>>>>> Dear Rinke and Mike,
>>>>>>
>>>>>> As LC1 reviewers of XML Serialization can you please take a *very* quick
>>>>>> look at the latest version and confirm that you are OK with any minor
>>>>>> changes that may have occurred since the 1st Last Call and that, in your
>>>>>> opinion, the document is "CR-ready".
>>>>>>
>>>>>> Thanks,
>>>>>> Ian
>>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>
Received on Tuesday, 19 May 2009 19:18:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:42:12 UTC