Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: specify element type depending of same element attribute value?

From: noah_mendelsohn@--.---.---
To: Philippe Poulard <Philippe.Poulard@------.-----.-->
Date: 5/21/2006 12:03:00 PM
Thank you for forwarding this.  I've only had the opportunity to take a 
quick look, but it looks like an interesting piece of work.   It's clear 
that finding appropriate means of capturing co-constraints will be very 
valuable to the XML community.  I would be curious for your thoughts on 
the relationship between the desire for powerful constraint checking that 
the issues raised in the TAG finding, "The Rule of Least Power" [1].  It 
seems to me that, to the extent practical, it is desirable to focus on 
constraint languages that are simple and declarative, as I think that such 
approaches will greatly facilitate the development of tools for 
databinding, user interface creation, etc.  I don't think I've reviewed 
your proposal in enough detail to have an informed opinion, but a quick 
skim suggested that it points toward using somewhat more "powerful" 
languages.  These presumably have the advantage that they can effectively 
express more elaborate constraints, but sometimes at the cost of making it 
difficult to easily discover that a particular constraint is in fact a 
straightforward one.   This is a tradeoff that the Schema WG has been 
wrestling with, as there too, some members are inclined torward approaches 
that are more powerful (in the sense of the finding), and some are willing 
to leave behind more difficult use cases in favor of a solution that's 
easier to optimize and easier to reason about.   I'm curious whether you 
have considered such tradeoffs.  Thanks very much.

Noah

[1] http://www.w3.org/2001/tag/doc/leastPower 

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------








Philippe Poulard <Philippe.Poulard@s...>
05/15/2006 05:41 AM
 
        To:     noah_mendelsohn@u...
        cc:     Michael Kay <mike@s...>, "'Crni Gorac'" 
<cgorac@g...>, xmlschema-dev@w...
        Subject:        Re: specify element type depending of same element 
attribute value?


noah_mendelsohn@u... wrote:
> And, adding to Mike's answer, the schema workgroup is devoting a lot of 
> effort to choosing the right features for Schema 1.1 that would allow 
just 
> such co-occurrence constraints to be expressed.  Though I can't 
officially 
> commit anything, I would expect to see at least some initial proposals 
in 
> whatever is the next public working draft of the Schema 1.1 
specification. 
>  Stay tuned.
> 

hi,

I'm playing with an alternate schema technology that can build content 
models dynamically, as shown in this example :
http://reflex.gforge.inria.fr/tutorial.html#N801359

Thus, co-occurrence constraints are easy to achieve with the Active 
Schema Language :
http://disc.inria.fr/perso/philippe.poulard/xml/active-tags/active-schema/active-schema.html


Of course, this is still experimental, but it's worth seeing ; there are 
lots of ideas that might interest the schema workgroup.

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !



From debora.vanni@t... Mon May 22 14:13:57 2006
Received: from lisa.w3.org ([128.30.52.41])
	by frink.w3.org with esmtp (Exim 4.5


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent