Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing closing bracket in XML Representation? #1264

Open
himorin opened this issue Apr 18, 2023 · 5 comments
Open

Missing closing bracket in XML Representation? #1264

himorin opened this issue Apr 18, 2023 · 5 comments

Comments

@himorin
Copy link
Contributor

himorin commented Apr 18, 2023

https://www.w3.org/TR/ttml2/#profile-vocabulary-extension
6.1.5 ttp:extension has XML Representation as:

<ttp:extension
  extends = xsd:string
  restricts = xsd:string
  value = ("optional" | "required" | "use" | "prohibited") : see prose below
  xml:id = ID
  Content: #PCDATA
</ttp:extension>

which does not have closing bracket right before Content: #PCDATA. Is this valid? (I'm quite not sure...)

@nigelmegitt
Copy link
Contributor

Every element's representation looks like this in the whole specification. The word "Content" is italicised. Putting a close angle bracket before "Content" would suggest that the text "Content: XYZ" is the required element content.

I would suggest closing with no change.

@skynavga
Copy link
Collaborator

Ditto what @nigelmegitt said. The XML Representation syntax is a meta-level syntax used to formally describe the element vocabulary of TTML. It is not itself XML syntax. It is based on the XML Representation syntax used in XML Schema Part 1: Structures Second Edition.

@himorin
Copy link
Contributor Author

himorin commented Apr 18, 2023

Thank you for confirmation!
I've wondered since ones in TTML1 has such bracket, so I was quite not sure why and what happened....

@skynavga
Copy link
Collaborator

Actually, I see what you mean (about TTML1). I don't recall when or why they were removed in TTML2, but I suspect they should be restored. Otherwise, it appears that the start tag is not closed.

@skynavga skynavga reopened this Apr 18, 2023
@nigelmegitt
Copy link
Contributor

I did not notice that difference to TTML1 either, and also cannot recall an intentional removal.

@skynavga skynavga changed the title missing closing blacket in XML Representation? Missing closing bracket in XML Representation? Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants