Lists Home |
Date Index |
This looks familiar to the 'CONCUR' (Concurrent DTDs) feature in SGML (see
SGML production for start-tag).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE Article SYSTEM "article.dtd">
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?
PS: I apologise if I just restated something that already was said in the
main thread, as I did not follow it closely.