Re: Test 0332 Error - XML Variant - Missing xml:lang?

On Wed, Jul 2, 2014 at 10:19 PM, Gregg Kellogg <gregg@kellogg-assoc.com> wrote:
>
>
> On Wednesday, July 2, 2014, Alex Miłowski <alex@milowski.com> wrote:
>>
>> I don't see any problem with XML has a host language.  There are
>> plenty of XML vocabularies that will benefit from RDFa.  In fact, RDFa
>> is being added to DocBook and will be valid DocBook for version 5.1.
>
>
> It's not the XML is a bad host language, but that this test isn't setup to
> run in XML mode. It could be if @lang were changed to &xml:lang, but that
> may not be the point if the test. Easiest thing would be to just remove XML
> from the set if host languages for this particular test in the test
> manifest.
>

OK.  I get what you are saying now.  My apologies.

>>
>> Meanwhile, the test seems just incorrect.  The only language attribute
>> available that is universally recognized is xml:lang.
>>
>> The simple solution is to correct the input document in the test case.
>
>
> Either way, perhaps the test author can chime in with specifically what the
> purpose of the test is.

Fair enough.


-- 
--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
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Thursday, 3 July 2014 05:39:13 UTC