Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xml-dev] Relax NC, was: XML spec and XSD

From: "Michael Sokolov" <sokolov@--------.--->
To: "'Glidden, Douglass A'" <Douglass.A.Glidden@------.--->,
Date: 11/18/2009 3:02:00 AM
To my way of thinking, the compact notation and relative simplicity is what
makes RNC/G extremely attractive.  I'm actually really glad it doesn't solve
your problem, Douglass!  No offense, but if it did, it would be as complex
as XSD.  I guess that's just to say that they seem to occupy different
niches.

In my first project using Relax, I was able to write schemas for my fairly
complex documents after reading documentation (James Clark's excellent
tutorial http://www.relaxng.org/compact-tutorial-20030326.html) for only
about an hour.  Admittedly my problems were much simpler than the ones you
describe - only simple inheritance schemes using extension (adding
additional elements and attributes in the subtype), but what was great was I
didn't have to become an expert to do it, and all my colleagues: programmers
and customers (content editors), are able to read the schemas with almost no
training at all.

-Mike


> -----Original Message-----
> From: Glidden, Douglass A [mailto:Douglass.A.Glidden@b...] 
> Sent: Tuesday, November 17, 2009 5:09 PM
....
> Hmmm...I must confess I didn't really explore the shorthand 
> version of RNG--perhaps I should take a look at it.  That is 
> effectively the same as the longhand way I was doing it, and 
> while it doesn't strike me as particularly elegant, it at 
> least takes up less space.
> 
> 
> 


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
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