[Home] [By Thread] [By Date] [Recent Entries]



Jonathan Robie wrote:
> Joe English wrote: [...]
> > Most XML applications don't care about the [in-scope namespaces]
> > property either, and can be safely stored in a database that fails
> > to preserve it.
>
> I mostly agree.
>
> But if you store and retrieve an XSLT styleheet or W3C XML Schema,
> wouln't you gripe if the namespaces needed to interpret them were lost?


I'm not sure why I'd store an XSLT stylesheet inside
an XQuery database in the first place -- what sorts
of queries (other than "retrieve whole stylesheet")
can usefully be performed on them?

But if I did, I wouldn't expect the [base URI] property
to be preserved either, so would have to be careful with
things like <xsl:include/> and <xsl:import/> as well
([in-scope namespaces] isn't the only issue here!)
I think I'd be most upset about whitespace in tags
being lost.  But really, ISTM a WebDAV server or plain
old filesystem is the best way to store and retrieve
XSLT stylesheets, and anything else that's more
"document-oriented" than "data-oriented".

I'm quite certain that I'd never do anything with a
W3C XML Schema, so I don't really care what happens
to their [in-scope namespaces] property.


--Joe English

  jenglish@f...

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member