W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2012

Test Case 0109 / XHTML+RDFa 1.1

From: Alex Milowski <alex@milowski.com>
Date: Fri, 27 Apr 2012 14:51:22 -0700
Message-ID: <CABp3FNKdsMbK9XAPZa9CFgkpA04=W=U61ZYKf75CgEVE8OPTNA@mail.gmail.com>
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
Test case 109 has this content:

<!-- This a NOT a valid XHTML document (due to @xml:base) -->
      <div xml:base="http://example.org/invalid/">
         <p about="">This is <span property="dc:title">Test 0109</span>.</p>

I believe this test case is either invalid or unenforceable.  xml:base
is an expected feature in many environments (including most browsers).
 Even though some schemata for XHTML may not allow the attribute, its
presence will change the base URI.  Any DOM processor, like mine, will
not be able get the answer expected.  In fact, it shouldn't because
the base URI is determined by intrinsic processing of the document by
the browser and no other interpretation for an XML document is allowed
per the XML Base specification.

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Friday, 27 April 2012 21:51:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:31 UTC