W3C home > Mailing lists > Public > www-html@w3.org > November 2003

Re: <link> vs. <script> for external scripts

From: Robert Koberg <rob@koberg.com>
Date: Wed, 19 Nov 2003 14:00:20 -0800
Message-Id: <C493F7BE-1ADB-11D8-A0E9-00039354A8EC@koberg.com>
Cc: W3C HTML List <www-html@w3.org>
To: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>


Sorry, I did not not understand the question/problem. The example's 
complexType names were probably misleading.

I believe you were correct when you wrote that XML Schema cannot do 
what you (and Lachlan) describe. You would get a definitive answer on 
the xmlschema mailing list.

I thought about using constraints (key/keyref) but gave up. I thought 
about using a 'choice' which might be able to be used if you can 
constrain the choice.

The inheritance in XML Schema doesn't cascade like you describe. What 
you guys need, which can't be done in the same namespace, is to have 
two completely different elements with the same local-name.

I don't know if this is a failing of HTML or XML Schema.

Sorry I could not help,

On Nov 19, 2003, at 8:48 AM, Christian Wolfgang Hujer wrote:
> Oh, this may be it, I can't concentrate enough now, so I ask instead 
> of try it
> myself:
> Does it mean that if I use <body><noscript></noscript></body>, 
> <noscript/>'s
> content model is that of <body/>, and if I use
> <body><p><noscript></noscript></p></body>, <noscript/>'s content model 
> is
> that of <p/>?
> Bye
> - --
> Christian Wolfgang Hujer
> Geschäftsführender Gesellschafter (Shareholding CEO)
> Telefon: +49  (0)89  27 37 04 37
> Telefax: +49  (0)89  27 37 04 39
> E-Mail: Christian.Hujer@itcqis.com
> WWW: http://www.itcqis.com/
> Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
> dkZ8Y0l+wRKc/FaTiM47csg=
> =Uz2t
Received on Wednesday, 19 November 2003 17:01:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC