The parser does not parse the xml:lang attribute of the <Title> tag.
eg:
<ProgramInformation programId="crid://indi.be/EEN20090805P28">
<BasicDescription>
<Title xml:lang="nl">Het journaal laat en het weer</Title>
<Synopsis length="short" xml:lang="nl">Doorlopend herhaald.</Synopsis>
<Synopsis length="long" xml:lang="nl"> Doorlopend herhaald.</Synopsis>
<Genre href="urn:tva:metadata:cs:ContentCS:2005:3.1.1.1"><Name>Daily
news</Name></Genre>
<ParentalGuidance><mpeg7:MinimumAge>4</mpeg7:MinimumAge><mpeg7:Region>BE</m
peg7:Region></ParentalGuidance>
</BasicDescription>
</ProgramInformation>
These lines need to be added to
SAXProgramInformationHandler#setTitleAttributes(Attributes atts) :
attribute = atts.getValue("xml:lang");
if ( (attribute!=null) && (parseProfile >= SAXXMLParser.STANDARD) ) {
title.setLanguage(attribute);
}
Nobody/Anonymous ( nobody ) - 2009-09-16 14:19
5
Open
None
Nobody/Anonymous
None
None
Public