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

RE: Overlapping namespaces (was: Are we ready ...)


doctype article
> <xhtml:my:body>

This looks familiar to the 'CONCUR' (Concurrent DTDs) feature in SGML (see
SGML production for start-tag).

<quote
source="http://www2.informatik.uni-wuerzburg.de/mitarbeiter/holger/lehre/OSW
S0001/breunig/os0001_breunig.html#AEN129">

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<!DOCTYPE Article SYSTEM "article.dtd">
	<(Article)Article><(HTML)HTML><(HTML)BODY>
	<(Article)Section><(Article)Title><(HTML)H1>Ein
Titel</(HTML)H1></(Article)Titel>
	<(Article)Para><(HTML)P>
	Blabla...
	</(HTML)P></(Article)Para>
	</(HTML)BODY></(HTML)HTML></(Article)Article>

</quote>

Note that if the Para element in the above sample would have been called 'P'
instead, one could use 
<(Article, HTML) P> to indicate that the para belongs to both, the Article
DTD and the HTML DTD.

However, as even James Clark's parser does not implement this feature
doesn't seem to be in wide use (although I might be wrong here). 

Although I believe that there might be a valid case here, there are some
serious implications to this construct - one that springs imediately to my
mind is the issue of content equality. I.e. if you using a construct like
the above you are saying that the content of the xhtml:body and my:body
elements are the same - at least in valid documents. If that's the case why
don't you just use the xhtml:body in your my-schema?

Axel

PS: I apologise if I just restated something that already was said in the
main thread, as I did not follow it closely.

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.