Giter VIP home page Giter VIP logo

ebu-tt-d-xsd's People

Contributors

frans-ebu avatar gazsp avatar lpmi-13 avatar nigelmegitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ebu-tt-d-xsd's Issues

Metadata handling should be factored out

The way that EBU-TT metadata is handled at the moment has some issues:

  1. It enforces the ordering requirement from EBU-TT Part 1 v1
  2. It may need updating to match EBU-TT Metadata Tech3390.

I suggest we remove the metadata from the EBU-TT-D XSD and create a new XSD for EBU-TT Metadata specifically.

Addition ittp:activeArea

The following change needs to be reflected in the EBU-TT-D XSD for version 1.0.1.

CHANGE: ittp:activeArea

Before

This feature and attribute was not present.

After

The attribute was added to the tt:tt element.

cellResolutionType regex

Found during the live toolkit implementation:

[0]*[1-9][0-9]*\s[0]*[1-9][0-9]*

Seems to be a better representation

Document merge policy in Readme

For each merge request there is a review time for 10 working days (working days: Mo-Fr). If there no blocking comment it can be merged. Otherwise it needs to be resolved. If for some reason a resolution of a blocking comment is not feasible, a decision is made by the EBU Timed Text working group.

ebuttm:documentIntendedTargetFormat constrained to maxOccurs=1

The maxOccurs attribute is omitted from the definition of ebuttm:documentIntendedTargetFormat, and it defaults to 1, so if a document wants to signal intended conformance to multiple target formats, this is prohibited. Suggest adding maxOccurs="unbounded".

Allow TTML attributes from TTML metadata namespace

The following change needs to be reflecred in the EBU-TT-D XSD for version 1.0.1

CHANGE: Attributes from the TTML metadata namespace

Before

The TTML 1 metadata attributes ttm:agent and ttm:role were allowed on tt:body, tt:p and tt:span.

After

TTML 1 metadata attributes can be used as defined in TTML 1.

Addition of itts:fillLineGap

The following change needs to be reflected in the EBU-TT-D-XSD

CHANGE: Attribute itts:fillLineGap

Before

This feature and attribute was not present.

After

The attributes was added to the tt:style element.

Namespace conflict

When validating ebutt_d.xsd using Oxygen the following error is given:

The namespace attribute, 'http://www.w3.org/ns/ttml#styling', of an element information item must be identical to the targetNamespace attribute, 'urn:ebu:tt:style', of the imported document.

Changing line 8 to <xs:import namespace="urn:ebu:tt:style" schemaLocation="styling.xsd"/> solved the issue but I would like confirmation that this is the correct solution.

Space in xml.xsd URI

The URI for the schema location of the xml.xsd in ebutt_d.xsd has a leading space. Although the data type of the schema location attribute is xs:anyUri and spaces are allowed for that type, their use is discouraged and may also result in problems for schema validating processors.

Add a note about necessary pre-processing

A note should say, that all document vocabulary that is not defined in TTML1 or EBU-TT-D needs to be pruned before validation. Otherwise the new XSD may generate "false negative" i.e. it could produce an error for a document that conforms to TTML1.

Conflict with TTML1 XSD

ebutt_d.xsd specifies http://www.w3.org/ns/ttml as the target namespace, conflicting with the TTML1 XSD -- specifically ttaf1-dfxp-document.xsd, which also defines the same target namespace.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.