OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: various issues

[ Lists Home | Date Index | Thread Index ]
  • From: Peter@ursus.demon.co.uk (Peter Murray-Rust)
  • To: dmeggins@uottawa.ca
  • Date: Fri, 11 Apr 1997 17:54:26 GMT

Thanks very much - it's becoming clearer, and at least I've got the direction 
correct :-).  But I'm not clear what quantities are inherited...

For discussion assume that the declarations belong to MYDTD

In message <199704111037.GAA00242@localhost> David Megginson writes:
> 
>   <?ArcBase html?> <?ArcBase math?>

So in C++ terms MYDTD has two base  classes, HTML and MATH.  

> 
>   [notations and entities omitted]
> 
>   <!ELEMENT para ...> 
>   <!ATTLIST para
>     html      NAME    #FIXED "p">

This means that PARA (in MYDTD) inherits properties from P (in HTML).  Does
that mean it automatically inherits the content model and the attributes?
For example, the content model of P is
	(%text)*
which expands to 
	(#PCDATA | IMG | BR | EM)*  <!-- several missed out -->
Can PARA assume these or does it have to map each of these (e.g. IMG) onto
html:
	<!ELEMENT image ...>
	<!ATTLIST image
	  html    NAME #FIXED "img>
etc.
similarly does PARA have to explicity declare the same attributes as P in HTML?

> 
>   <!ELEMENT fraction ...> 
>   <!ATTLIST fraction
>     math      NAME    #FIXED "frac">
> 
>   <!ELEMENT sym ...> 
>   <!ATTLIST symbol
>     html      NAME    #FIXED "sym" 
>     math      NAME    #FIXED "symbol">
> 
This is - presumably - multiple inheritance in that SYMBOL inherits something
from HTML.SYM and MATH.SYMBOL (though I'm not clear what).  How does the
content of SYMBOL relate to either of its two base classes?

	P.

-- 
Peter Murray-Rust, domestic net connection
Virtual School of Molecular Sciences
http://www.vsms.nottingham.ac.uk/

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)





 

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

Copyright 2001 XML.org. This site is hosted by OASIS