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

Re: RELAX NG Marketing (was RE: Do Names Matter?)


Re:  RELAX NG Marketing (was RE:  Do Names Matter?)


> 1) I read Jame's comments
> (http://www.thaiopensource.com/relaxng/design.html) on attribute
defaulting
> being a special case of a transformation that hasn't earned its privileged
> status in DTDs and XSD. I *really* like the approach of getting all the
junk
> (mostly DTD legacy stuff) out of the schema language. This is clearly the
> biggest strength of the XML approach in general (as compared to SGML,
HyTime
> and the like, which threw in not just the kitchen sink but the stove and
> refrigerator too), and to see it reflected in RELAX NG is very positive.
(I
> bring this up because I think that the need for attributing and the like
> would contradict Jame's assertion that validation can occur after and
> independently of SAX event generation.)

I don't see the contradiction.  It just means that the validation stage
would transform the SAX event stream.

> But... from a marketing perspective, I imagine that folks expect RELAX NG
to
> offer features that they have come to depend on in DTDs, if not the more
> arcane features of XSD.

Which is why we did RELAX NG DTD Compatibility

 http://www.oasis-open.org/committees/relax-ng/compatibility.html

which provides a standard annotation for doing attribute defaulting.

> To me this implies two things:
>
> a) A set of examples showing how to do attribute and element defaulting in
> different scenarios

I don't think it's important to support XSD-style element defaulting (which
says what happens not when you omit an element, but when you specify an
empty value for an element).

James



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.