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

Re: bohemians, gentry


montherlant signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ John Cowan <jcowan@r...> was heard to say:
[...]
| Again, the mere *provision* of typing metadata does not prevent such reuse.
| However, if *standard tools* assume that the metadata is sound, then
| transgressive reuse may indeed be made difficult.  Obviously, purely lexical
| tools are not affected, but tools based on XQuery/XPath2/XSLT2 will not
| be purely lexical in this sense (whereas XPath1/XSLT1 are).

Taking the specific case of XQuery/XPath2/XSLT2, I'm not sure I see
the problem. Given

<baz>
<foo n="1">Network Drive</foo>
<bar moo="0902">01803</bar>
</baz>

I might write a template that matches those elements in a purely
lexical way.

  <xsl:template match="baz">...</xsl:template>

I might also write a template that matches them based on some data
type (forgive the psuedo-xsl, the standards are still fluid as you
pointed out):

  <xsl:template match="*[type() = my:AddressType]">...</xsl:template>

The latter case seems to be exactly what Walter Perry described in an
earlier message on this thread: a particular view of the data in a local
context (I wrote the query that way because I expect to interpret the
darned thing as an address).

Imposing my view on the data for my query doesn't seem to do any harm.

Or are you concerned that I'm going to slurp up the XML, interpret it
according to my local context, shove it into some database somewhere
with those interpretations and thereafter be unable to view it with a
different local context?

Some people are going to do that, I suppose, to bend XML to the will
of their databases. But I'm not going to do that (that would be
stupid, IMHO, but I'm not trying to build a system that processes a
zillion purchase orders a minute, either). I haven't perceived anyone
threatening to force me to do that. Am I insufficiently paranoid?

Or have I missed the point?

                                        Be seeing you,
                                          norm

- -- 
Norman.Walsh@S...    | Throughout history the world has been laid
XML Standards Architect | waste to ensure the triumph of conceptions
Web Tech. and Standards | that are now as dead as the men that died for
Sun Microsystems, Inc.  | them.--Henry De Montherlant
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE97nDnOyltUcwYWjsRArLtAJ4zz3bhkviHG7Wgalw1LqTwb53QHACfcD9F
OZZ8uZ+SB/oAr816nR+Kqh0=
=XdKy
-----END PGP SIGNATURE-----

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.