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

Re: Co-operating with Architectural Forms


Re:  Co-operating with Architectural Forms

* Lars Marius Garshol
|
| The way schema information is piggy-backed into the existing schema
| language in a way that makes it appear in the instance data rather
| than in the schema itself is ugly to me.

* Steven R. Newcomb
| 
| AFs can work if you don't have a DTD, which can be quite important
| in XML-land.  Of course, in that case, you have to provide the AF
| information in each element's attributes.  If there's no schema,
| there's no other way, is there?

Well, you could reference some external mapping document, but in both
cases it's a question of, should I put the information locally, or
reference it, and I agree that choices are limited.

| So what's the problem?

That AFs have been shoe-horned into the existing DTD syntax. I like
AFs, I just wish they could be specified using a nicer syntax. For XML
I think an XML-like syntax would do nicely, like the one John Cowan
proposed.

Another possibility might be to use SAF to attach AF declarations to
XML Schema type declarations.

One thing we should consider seriously is to propose to WG1 that DSDL
get direct support for architectural forms. That would mean that this
problem would at least go away if you use RELAX-NG.
 
* Lars Marius Garshol
|
| Also very ugly is the way many attribute values end up being
| structured in ways that should rather be structured with markup.
 
* Steven R. Newcomb
|
| Are you saying that AFs are ugly because neither SGML nor XML
| provides a way to structure attribute values, and that AFs were
| designed to live within that limitation? 

Yes.

| It seems unreasonable to complain that the ugliness of AFs is due to
| the fact that they're designed to actually WORK, even though they
| have nothing to work with but the SGML and XML markup languages.

It's entirely possible to specify architectural forms using SGML/XML
syntax, and that would have been enormously much nicer, and probably
also a lot easier for people to understand.

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
ISO SC34/WG3, OASIS GeoLang TC        <URL: http://www.garshol.priv.no >


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.