W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2002

Re: parseType="literal"

From: Thomas B. Passin <tpassin@comcast.net>
Date: Mon, 11 Mar 2002 08:47:19 -0500
To: www-rdf-interest@w3.org
Message-id: <000801c1c903$43c84dd0$0bf13044@tbp>
[<tarod@softhome.net>

>
>   We are having some problems using the parseType literal and including
> some xml in the literal.
>

I don't know what tool you are using, but it looks like it is parsing the
xml, as you would expect since there is supposed to be a difference between
text to be quoted and xml markup.  Unfortunately it seems that the
processing instructions are being ignored.

>   in the description they say "any well-formed xml", is it right?
>
...
>    so, why this is converted to this?
...

>      <vbox
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
>            </vbox>

This is actually correct, because the vbox element is in it's parent
element's default namespace (that is,
xmlns='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul').  It
does not change the namespace of the vbox element to make its namespace
explicit.

It's clear that your processor has actually parsed the xml in the literal,
then serialized the parsed xml to create the output that you see.

I do not know how the xml is being parsed.  It might not be hard to get it
to process and keep the processing instructions.

Cheers,

Tom P
Received on Monday, 11 March 2002 10:40:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:53 GMT