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

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.


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

Gregg


> On Wed, Jul 2, 2014 at 3:25 PM, Gregg Kellogg <gregg@greggkellogg.net
> <javascript:;>> wrote:
> > On Jul 2, 2014, at 2:52 PM, Alex Miłowski <alex@milowski.com
> <javascript:;>> wrote:
> >
> >> I have been running the latest version of Green Turtle through the
> >> test suite and have found a few issues.  I must not have had this in
> >> my cached version of the test suite from the last time around.
> >>
> >> Test #0332 seems to be missing the correct XML language attribute
> >> necessary for the test to work.
> >>
> >> The XML variant is here:
> >>
> >> http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0332.xml
> >>
> >> The language attribute should use xml:lang instead for this to work
> properly.
> >
> > I noticed this problem recently too; I think XML should just be removed
> as a host language.
> >
> > Gregg
> >
> >> --
> >> --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
> >>
> >
>
>
>
> --
> --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:19:45 UTC