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

Re: Re: URIs, concrete


Re:  Re: URIs
> Simon St.Laurent scripsit:
> 
> > Developers who follow my suggestion should be extremely unlikely to
> > create the brain-dead <x:foo bar="junk" x:bar="junque"> or even <x:foo
> > x:bar="junk">, thereby averting the continued creation of a larger mess.
> 
> Note that RDF *demands* that attributes be namespaced; the control ones
> like id, about, resource *must* belong to the RDF namespace, and the
> others that represent actual RDF properties (an optional use, you can
> use elements instead) *must* belong to a namespace other than the RDF one.

It's not to late to fix RDF in this area.  It is still WD.  I tend to think 
that too many of the folks on the RDF WGs are ambivalent towards XML itself 
(Jonathan Borden is a counter-example, of course), and thus make architectural 
decisions such as the  <rdf:Description rdf:about="foo"/> which go against the 
spirit of XML.  I've done my own futile complaining about this, but I hope 
others moving to RDF from the XML perspective back me up and help get this 
sorted out.  After all, the new RDF decision itself invalidates a *lot* of RDF 
code out there that uses <rdf:Description about="foo"/>.  I'm certainly not 
about to change 4Suite to enforce the new rules.


> So please don't make general-purpose XML tools that outlaw namespaced
> attributes!

I don't think this is Simon's intent at all.  There should still be the 
ability to use "global" attributes.  I think their status is and has always 
been clear.  The discussion is more about unprefixed attributes, which I think 
should have the namespace of their element.  Simon doesn't go quite that far: 
he mostly just wants to suppress <x:foo bar x:bar/> (and quite rightly so), 
and give processing apps the ability to report unprefixed attrs as having 
their element's namespace.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 - 
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF - 
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC



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.