[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [good] Question about NS 1.1


Re:  [good] Question about NS 1.1


"David G. Durand" wrote:
> 
> James seems to be asking for a some kind of a static type guarantee,
> where it would be impossible to write an XSLT stylesheet that
> produced a namespace error. Or where, at least, XSLT could be asked
> to automatically ensure that its output would have all needed
> namespace declarations, and the transform writer could be completely
> unaware of the machinery of prefixes, etc.

especially since one would think a guarantee can be provided where the
transformation is defined in terms of operations which close over
semantic domains, while it cannot be done where the transformation is
defined in terms of syntactic domains. (cf. the unescaped markup "holes"
below and the notion that prefixes are markup.)

> 
> This would be useful, but unless optional, it would make it harder
> for people to create stylesheets that produce non-namespaced,

i don't see why this is harder. please give an example. i would have
thought that the abstract syntax of such documents could be defined such
that all names not in any namespace were actually in a distinguished
"null" namespace.

> or non-xml results.

i am unaware of this issue and would appreciate examples.

> 
> There are even bigger holes in the XSLT type system, such as the
> ability to emit unescaped markup -- of course those are intended to
> solve tough problems (or enable quick hacks, depending on your
> perspective), and so their use is quite clearly marked.
> 

...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.