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

Re: patterns vs. identifiers


rafter patterns
Jeff Rafter writes:
> So if we eliminate the notion of reference (to a real world idea) and
> deal only with pattern or value in the actual document is there some
> way to eliminate namespaces entirely and still mix "vocabularies"?

I think a strictly pattern-based approach would offer context - both
ancestor and descendant context - as an answer to that, though context
can occasionally be misleading or abused.  

A table which contains cells is likely a formatting tool, while a table
that specifies wood species and finish technique is likely furniture -
and might even contain a table of the other kind listing the options
available for that piece of furniture.

The code for this might not be easy, but I suspect it's well within the
capabilities of XPath/XSLT, Schematron, or perhaps RELAX NG.

I'm not certain that patterns alone are the answer to all problems.  On
the other hand, I worry that identifiers are being offered as a solution
that works formally, but is really painful in practice.


-------------
Simon St.Laurent - SSL is my TLA
http://simonstl.com may be my URI
http://monasticxml.org may be my ascetic URI
urn:oid:1.3.6.1.4.1.6320 is another possibility altogether

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.