Share

TV-Anytime API

Tracker: Bugs

5 xml:lang not parsed for tag Title - ID: 2860025
Last Update: Tracker Item Submitted ( nobody )

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


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.