XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Use DTDs!

The unofficial compact syntax for XSD <http://dret.net/projects/xscs> is even simpler:

 

element altitude { (xs:string)

    required attribute units {"feet", "meters"}

}

 

I like it!

 

Are there validating engines which validate XML instances against schemas that are specified using this compact syntax?

 

Are people using this compact syntax in real-world applications?

 

/Roger

 

From: John Cowan [mailto:johnwcowan@gmail.com]
Sent: Monday, May 02, 2016 9:24 AM
To: Costello, Roger L. <costello@mitre.org>
Cc: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Use DTDs!

 

 

On Mon, May 2, 2016 at 7:49 AM, Costello, Roger L. <costello@mitre.org> wrote:

 

<!ELEMENT altitude (#PCDATA)>

<!ATTLIST altitude
             units (feet|meters) #REQUIRED>



The unofficial compact syntax for XSD <http://dret.net/projects/xscs> is even simpler:

 

element altitude { (xs:string)

    required attribute units {"feet", "meters"}

}

 

XSD has plenty of problems, but it shouldn't be blamed for the verboseness of XML as a language notation.

 

--

GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS