Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
47b95fe9
authored
Jan 05, 2021
by
andrewlewis
Committed by
Ian Baker
Jan 05, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove duplicate xmlns attributes in testdata
PiperOrigin-RevId: 350100601
parent
97d3e523
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
25 additions
and
66 deletions
testdata/src/test/assets/media/ttml/chain_multiple_styles.xml
testdata/src/test/assets/media/ttml/font_size.xml
testdata/src/test/assets/media/ttml/font_size_empty.xml
testdata/src/test/assets/media/ttml/font_size_invalid.xml
testdata/src/test/assets/media/ttml/font_size_no_unit.xml
testdata/src/test/assets/media/ttml/inherit_and_override_style.xml
testdata/src/test/assets/media/ttml/inherit_global_and_parent.xml
testdata/src/test/assets/media/ttml/inherit_multiple_styles.xml
testdata/src/test/assets/media/ttml/inherit_style.xml
testdata/src/test/assets/media/ttml/inline_style_attributes.xml
testdata/src/test/assets/media/ttml/multiple_regions.xml
testdata/src/test/assets/media/ttml/no_underline_linethrough.xml
testdata/src/test/assets/media/ttml/rubies.xml
testdata/src/test/assets/media/ttml/text_align.xml
testdata/src/test/assets/media/ttml/text_combine.xml
testdata/src/test/assets/media/ttml/vertical_text.xml
testdata/src/test/assets/media/ttml/chain_multiple_styles.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
>
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
<head>
<head>
<styling>
<styling>
<style
id=
"s0"
<style
id=
"s0"
...
...
testdata/src/test/assets/media/ttml/font_size.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
>
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"32px"
>
text 1
</p>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"32px"
>
text 1
</p>
...
...
testdata/src/test/assets/media/ttml/font_size_empty.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter
"
xmlns=
"http://www.w3.org/ns/ttml
"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns=
"http://www.w3.org/2006/10/ttaf1
"
>
xmlns=
"http://www.w3.org/ns/ttml
"
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
""
>
empty
</p>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
""
>
empty
</p>
...
...
testdata/src/test/assets/media/ttml/font_size_invalid.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter
"
xmlns=
"http://www.w3.org/ns/ttml
"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns=
"http://www.w3.org/2006/10/ttaf1
"
>
xmlns=
"http://www.w3.org/ns/ttml
"
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"px"
>
invalid
</p>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"px"
>
invalid
</p>
...
...
testdata/src/test/assets/media/ttml/font_size_no_unit.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter
"
xmlns=
"http://www.w3.org/ns/ttml
"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns=
"http://www.w3.org/2006/10/ttaf1
"
>
xmlns=
"http://www.w3.org/ns/ttml
"
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"32"
>
no unit
</p>
<p
begin=
"10s"
end=
"18s"
tts:fontSize=
"32"
>
no unit
</p>
...
...
testdata/src/test/assets/media/ttml/inherit_and_override_style.xml
View file @
47b95fe9
<tt
xmlns=
"http://www.w3.org/ns/ttml"
<tt
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
...
...
testdata/src/test/assets/media/ttml/inherit_global_and_parent.xml
View file @
47b95fe9
<tt
xmlns=
"http://www.w3.org/ns/ttml"
<tt
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
...
...
testdata/src/test/assets/media/ttml/inherit_multiple_styles.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
>
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
<head>
<head>
<styling>
<styling>
<style
id=
"s0"
<style
id=
"s0"
...
...
testdata/src/test/assets/media/ttml/inherit_style.xml
View file @
47b95fe9
<tt
xmlns=
"http://www.w3.org/ns/ttml"
<tt
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
...
...
testdata/src/test/assets/media/ttml/inline_style_attributes.xml
View file @
47b95fe9
<tt
xmlns=
"http://www.w3.org/ns/ttml"
<tt
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
>
...
...
testdata/src/test/assets/media/ttml/multiple_regions.xml
View file @
47b95fe9
<tt
xmlns=
"http://www.w3.org/ns/ttml"
<tt
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
xmlns:id=
"http://www.w3.org/XML/1998/namespace"
xmlns:id=
"http://www.w3.org/XML/1998/namespace"
xmlns:ttp=
"http://www.w3.org/ns/ttml#parameter"
xmlns:ttp=
"http://www.w3.org/ns/ttml#parameter"
xmlns:tts=
"http://www.w3.org/ns/ttml#styling"
xmlns:tts=
"http://www.w3.org/ns/ttml#styling"
...
...
testdata/src/test/assets/media/ttml/no_underline_linethrough.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter
"
xmlns=
"http://www.w3.org/ns/ttml
"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns=
"http://www.w3.org/2006/10/ttaf1
"
>
xmlns=
"http://www.w3.org/ns/ttml
"
>
<head>
<head>
<styling>
<styling>
<style
id=
"s0"
<style
id=
"s0"
...
...
testdata/src/test/assets/media/ttml/rubies.xml
View file @
47b95fe9
<!--
~ Copyright (C) 2020 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml
"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style
"
xmlns=
"http://www.w3.org/2006/10/ttaf1
"
>
xmlns=
"http://www.w3.org/ns/ttml
"
>
<head>
<head>
<styling>
<styling>
<style
id=
"cont"
tts:ruby=
"container"
/>
<style
id=
"cont"
tts:ruby=
"container"
/>
...
...
testdata/src/test/assets/media/ttml/text_align.xml
View file @
47b95fe9
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
>
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
tts:textAlign=
"start"
>
Start alignment
</p>
<p
begin=
"10s"
end=
"18s"
tts:textAlign=
"start"
>
Start alignment
</p>
...
...
testdata/src/test/assets/media/ttml/text_combine.xml
View file @
47b95fe9
<!--
~ Copyright (C) 2020 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
<tt
xmlns:ttm=
"http://www.w3.org/2006/10/ttaf1#metadata"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
>
<body>
<body>
<div>
<div>
<p
begin=
"10s"
end=
"18s"
>
Text with
<span
tts:textCombine=
"all"
>
combined
</span>
section.
</p>
<p
begin=
"10s"
end=
"18s"
>
Text with
<span
tts:textCombine=
"all"
>
combined
</span>
section.
</p>
...
...
testdata/src/test/assets/media/ttml/vertical_text.xml
View file @
47b95fe9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:ttp=
"http://www.w3.org/2006/10/ttaf1#parameter"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns:tts=
"http://www.w3.org/2006/10/ttaf1#style"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/ns/ttml"
xmlns=
"http://www.w3.org/2006/10/ttaf1"
>
>
<head>
<head>
<layout>
<layout>
<region
id=
"right-to-left"
tts:extent=
"80% 80%"
tts:origin=
"10% 10%"
tts:writingMode=
"tbrl"
/>
<region
id=
"right-to-left"
tts:extent=
"80% 80%"
tts:origin=
"10% 10%"
tts:writingMode=
"tbrl"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment