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

Re: XLink and XForms


xlink xform
Sebastian Schnitzenbaumer wrote:
> Well, how would you have done it?
What do you mean?
Ah, probably:
 > 		...XPath for references within XForm
(In ancient times, people quoted the statements they
answered to immediately above the answer.)

Well, there are still IDs which can be used for
references within the same document, or, slightly more
general, names. An XPath can be seen as a "natural implied
name", nevertheless, the problems I have with this
choice:
- It increases the pressure on XSLT processor implementations
   to provide functionality to dynamically evaluate XPaths
   coming from the input XML. Having such a function enabled
   is a potential security risk, and does not fit all that
   well with XSLT compilers (and renders all the work of the
   WG to keep XSLT easily compilable moot).
- It is more of a burden for XForm writers than it may look
   at a first glance. If there are inserts or rearrangements
   of the data elements, every reference has to be checked and
   perhaps changed. This pretty much requires tool support
   for editing of not-quite-trivial forms. If they used IDs
   or names, this is not a problem.

> BTW I too wish there was a general
> syntax for addressing what is inside a 
> document tree and outside of it. XForms 
> needs both links to external resources as 
> well as to nodes within documents.

XPath does only adress the problem of selecting nodes within
a document. It does not help adressing other documents.

> How those links are expressed in terms of 
> syntax to provide the binding between ui 
> markup and data is not addressed by 
> XLink, so XPath became the obvious choice.

IDs have a longer history than XPath, and should be as obvious.
I wonder every time whether the SGML fundamentalists on this list
can read the XForm spec without running amok <evil grin>.

J.Pietschmann


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.