Skip to content

Commit

Permalink
Added language for treenode elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBrander committed Sep 13, 2015
1 parent a37a357 commit cf61a06
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
7 changes: 6 additions & 1 deletion content.xsd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Document developed by SVT and TV4 2009, 2010, 2011-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/content/v3_1" targetNamespace="http://common.tv.se/content/v3_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/content/v3_2" targetNamespace="http://common.tv.se/content/v3_2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2">
<xs:element name="content" type="contentType">
<xs:annotation>
<xs:documentation>Root element for content object</xs:documentation>
Expand Down Expand Up @@ -291,6 +291,11 @@
<xs:documentation>pattern name, describes type of tree</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="language" type="xs:language">
<xs:annotation>
<xs:documentation>language for treenode entries, in ISO 639-2</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
Expand Down
2 changes: 1 addition & 1 deletion event.xsd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Document developed by SVT and TV4 2009, 2010, 2011 -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/event/v3_1" targetNamespace="http://common.tv.se/event/v3_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/event/v3_2" targetNamespace="http://common.tv.se/event/v3_2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2">
<xs:element name="event" type="eventType">
<xs:annotation>
<xs:documentation>root node of event</xs:documentation>
Expand Down
2 changes: 1 addition & 1 deletion material.xsd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Document developed by SVT and TV4 2009, 2010, 2011-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/material/v3_1" targetNamespace="http://common.tv.se/material/v3_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://common.tv.se/material/v3_2" targetNamespace="http://common.tv.se/material/v3_2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2">
<xs:element name="material" type="materialType">
<xs:annotation>
<xs:documentation>Root element for material object</xs:documentation>
Expand Down
8 changes: 4 additions & 4 deletions publish.xsd
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Document developed by SVT and TV4 2009, 2010, 2011-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:content="http://common.tv.se/content/v3_1" xmlns:material="http://common.tv.se/material/v3_1" xmlns:event="http://common.tv.se/event/v3_1" xmlns="http://common.tv.se/publish/v3_1" targetNamespace="http://common.tv.se/publish/v3_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1">
<xs:import namespace="http://common.tv.se/content/v3_1" schemaLocation="content.xsd"/>
<xs:import namespace="http://common.tv.se/material/v3_1" schemaLocation="material.xsd"/>
<xs:import namespace="http://common.tv.se/event/v3_1" schemaLocation="event.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:content="http://common.tv.se/content/v3_2" xmlns:material="http://common.tv.se/material/v3_2" xmlns:event="http://common.tv.se/event/v3_2" xmlns="http://common.tv.se/publish/v3_2" targetNamespace="http://common.tv.se/publish/v3_2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2">
<xs:import namespace="http://common.tv.se/content/v3_2" schemaLocation="content.xsd"/>
<xs:import namespace="http://common.tv.se/material/v3_2" schemaLocation="material.xsd"/>
<xs:import namespace="http://common.tv.se/event/v3_2" schemaLocation="event.xsd"/>
<xs:element name="publish">
<xs:annotation>
<xs:documentation>root node of publish</xs:documentation>
Expand Down
8 changes: 4 additions & 4 deletions schedule.xsd
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Document developed by SVT and TV4 2009, 2010, 2011-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:content="http://common.tv.se/content/v3_1" xmlns:event="http://common.tv.se/event/v3_1" xmlns:material="http://common.tv.se/material/v3_1" xmlns="http://common.tv.se/schedule/v3_1" targetNamespace="http://common.tv.se/schedule/v3_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1">
<xs:import namespace="http://common.tv.se/content/v3_1" schemaLocation="content.xsd"/>
<xs:import namespace="http://common.tv.se/event/v3_1" schemaLocation="event.xsd"/>
<xs:import namespace="http://common.tv.se/material/v3_1" schemaLocation="material.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:content="http://common.tv.se/content/v3_2" xmlns:event="http://common.tv.se/event/v3_2" xmlns:material="http://common.tv.se/material/v3_2" xmlns="http://common.tv.se/schedule/v3_2" targetNamespace="http://common.tv.se/schedule/v3_2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2">
<xs:import namespace="http://common.tv.se/content/v3_2" schemaLocation="content.xsd"/>
<xs:import namespace="http://common.tv.se/event/v3_2" schemaLocation="event.xsd"/>
<xs:import namespace="http://common.tv.se/material/v3_2" schemaLocation="material.xsd"/>
<xs:element name="schedule">
<xs:annotation>
<xs:documentation>root node of schedule, always complete</xs:documentation>
Expand Down

0 comments on commit cf61a06

Please sign in to comment.