[Home] [By Thread] [By Date] [Recent Entries]

  • From: Uche Ogbuji <uche@o...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Tue, 9 Apr 2013 09:56:25 -0600

On Tue, Apr 9, 2013 at 6:53 AM, Simon St.Laurent <simonstl@s...> wrote:
On 4/9/13 8:27 AM, Ihe Onwuka wrote:
Schemas.

Schemas are a specialized transformation, typically yielding a binary (valid/not valid) result and possibly a modified/annotated document.

However much I deplore their side effects, they still fit into the category of transformations for these purposes.

Yes.  Exactly.  In the XML world (and in semi-structured data in general) a schema is nothing but a transform.

And yes, for years I've been saying that the power of XML is not extensibility but rather transformability.  I need to get my old "Chameleon XML Models" presentation on SlideShare.

I do believe in expressing business rules and constraints, but I think strong, static typing is a very bad way to do that, which is the problem I have with XSD.  I much prefer Schematron, Examplotron and RELAX NG.  I think the worst side-effects you mention come when people try to impose such strong typing constraints on XML, which, properly used. is about text, and not data.

Which brings me to the issue you set aside.  i do think that Mixed Content is essential to the culture of XML because I think that's what underscores the fact that XML is about text and not data.


--
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
http://wearekin.org
http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net
http://www.linkedin.com/in/ucheogbuji
http://twitter.com/uogbuji


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member