W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2004

Re: [XHTML2] Section 21.1.3 Errata: xml:base Attribute in Example

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Tue, 27 Jul 2004 11:12:46 +0900 (JST)
Message-Id: <20040727.111246.74750129.mimasa@w3.org>
To: lachlan.hunt@lachy.id.au
Cc: www-html-editor@w3.org

Lachlan Hunt <lachlan.hunt@iinet.net.au> wrote:

> In the example of the Earth object at the end of section 21.1.3 [1]
> containing the java applet, movie and finally the image, the xml:base
> attribute is not needed on inner most <object> element for the image.
> The xml:base attribute definition [2] states:
>    “The closest parent element that has the xml:base attribute
>     set (i.e., the xml:base attribute is inherited).”
> Therefore, the xml:base should be inherited from the second level
> <object> element.

In this particular case, yes.  The problem is that all examples use
http://www.example.com/ , if the second xml:base used
http://www.example.com/somepath/ or http://www.example.org/ or
something, this example would make more sense.  How about this one?

<!-- First, try the applet -->

      <!-- Else, try the video -->

            <!-- Else, try the image -->

                <!-- Else process the alternate text -->
                The <strong>Earth</strong> as seen from space.

> [1] http://www.w3.org/TR/xhtml2/mod-object.html#sec_21.1.3.
> [2]
> http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html#adef_hyperAttributes_xml:base

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Monday, 26 July 2004 22:12:55 UTC

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