Update schema data types for frameRateMultiplier and pixelAspectRatio.
authorGlenn Adams <glenn@skynav.com>
Fri, 23 Oct 2009 05:56:37 +0000
changeset 166 0c013736ff0a
parent 165 7bded5ff34ce
child 167 40ebf0ebc533
Update schema data types for frameRateMultiplier and pixelAspectRatio.
spec/rnc/ttaf1-dfxp-datatypes.rnc
spec/xsd/ttaf1-dfxp-datatypes.xsd
--- a/spec/rnc/ttaf1-dfxp-datatypes.rnc	Thu Sep 24 17:08:28 2009 +0000
+++ b/spec/rnc/ttaf1-dfxp-datatypes.rnc	Fri Oct 23 05:56:37 2009 +0000
@@ -79,7 +79,7 @@
   xsd:nonNegativeInteger
 
 TTAF.FrameRateMultiplier.datatype =
-  xsd:string { pattern = "\p{Nd}+(\s*:\s*\p{Nd}+)?" }
+  xsd:string { pattern = "\p{Nd}+\s+\p{Nd}+" }
 
 TTAF.LanguageCode.datatype =
   xsd:NMTOKEN
@@ -139,7 +139,7 @@
   string
 
 TTAF.PixelAspectRatio.datatype =
-  xsd:string { pattern = "\p{Nd}+\s*:\s*\p{Nd}+" }
+  xsd:string { pattern = "\p{Nd}+\s+\p{Nd}+" }
 
 TTAF.Profile.datatype =
   TTAF.URI.datatype
--- a/spec/xsd/ttaf1-dfxp-datatypes.xsd	Thu Sep 24 17:08:28 2009 +0000
+++ b/spec/xsd/ttaf1-dfxp-datatypes.xsd	Fri Oct 23 05:56:37 2009 +0000
@@ -112,7 +112,7 @@
       <xs:documentation>positiveInteger:positiveInteger</xs:documentation>
     </xs:annotation>
     <xs:restriction base="xs:string">
-      <xs:pattern value="\p{Nd}+(\s*:\s*\p{Nd}+)?"/>
+      <xs:pattern value="\p{Nd}+\s+\p{Nd}+"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="lineHeight">
@@ -199,7 +199,7 @@
       <xs:documentation>positiveInteger:positiveInteger</xs:documentation>
     </xs:annotation>
     <xs:restriction base="xs:string">
-      <xs:pattern value="\p{Nd}+\s*:\s*\p{Nd}+"/>
+      <xs:pattern value="\p{Nd}+\s+\p{Nd}+"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="profile">