PDA

View Full Version : [MP7] Produco questo documento, ma pare non valido: perchè?


Matrixbob
24-08-2007, 15:40
Il validatore:
NIST MPEG-7 Validation Service (http://m7itb.nist.gov/M7Validation.html)

Il documento:

<?xml version="1.0" encoding="iso-8859-1"?>
<Mpeg7 xmlns="urn:mpeg:mpeg7:schema:2001"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mpeg7="urn:mpeg:mpeg7:schema:2001"
xsi:schemaLocation="urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd">
<Description xsi:type="ContentEntityType">
<MultimediaContent xsi:type="VideoType">
<Video>
<MediaTime>
<MediaTimePoint>T0:0:0</MediaTimePoint>
<MediaDuration>PT0:5:39</MediaDuration>
</MediaTime>
<TemporalDecomposition>
<VideoSegment id="ITEM0">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:0</MediaTimePoint>
<MediaDuration>PT0:0:6</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM1">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:6</MediaTimePoint>
<MediaDuration>PT0:0:6</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM2">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:13</MediaTimePoint>
<MediaDuration>PT0:0:6</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM3">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:19</MediaTimePoint>
<MediaDuration>PT0:0:5</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM4">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:24</MediaTimePoint>
<MediaDuration>PT0:0:6</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM5">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:30</MediaTimePoint>
<MediaDuration>PT0:0:5</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM6">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:36</MediaTimePoint>
<MediaDuration>PT0:0:8</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM7">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:44</MediaTimePoint>
<MediaDuration>PT0:0:4</MediaDuration>
</MediaTime>
</VideoSegment>
<VideoSegment id="ITEM8">
<TextAnnotation>
<FreeTextAnnotation>Google Video - Le migliori 100 novità</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T0:0:49</MediaTimePoint>
<MediaDuration>PT0:4:49</MediaDuration>
</MediaTime>
</VideoSegment>
</TemporalDecomposition>
</Video>
</MultimediaContent>
</Description>
</Mpeg7>


L'errore:

<Mpeg7Validation file="output.mp7.xml">
<Error type="cvc-pattern-valid" line="10" col="50">
<msg>Value 'T0:0:0' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="10" col="50">
<msg>The value 'T0:0:0' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="11" col="50">
<msg>Value 'PT0:5:39' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="11" col="50">
<msg>The value 'PT0:5:39' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="19" col="54">
<msg>Value 'T0:0:0' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="19" col="54">
<msg>The value 'T0:0:0' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="20" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="20" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="28" col="54">
<msg>Value 'T0:0:6' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="28" col="54">
<msg>The value 'T0:0:6' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="29" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="29" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="37" col="55">
<msg>Value 'T0:0:13' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="37" col="55">
<msg>The value 'T0:0:13' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="38" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="38" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="46" col="55">
<msg>Value 'T0:0:19' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="46" col="55">
<msg>The value 'T0:0:19' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="47" col="53">
<msg>Value 'PT0:0:5' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="47" col="53">
<msg>The value 'PT0:0:5' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="55" col="55">
<msg>Value 'T0:0:24' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="55" col="55">
<msg>The value 'T0:0:24' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="56" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="56" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="64" col="55">
<msg>Value 'T0:0:30' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="64" col="55">
<msg>The value 'T0:0:30' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="65" col="53">
<msg>Value 'PT0:0:5' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="65" col="53">
<msg>The value 'PT0:0:5' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="73" col="55">
<msg>Value 'T0:0:36' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="73" col="55">
<msg>The value 'T0:0:36' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="74" col="53">
<msg>Value 'PT0:0:8' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="74" col="53">
<msg>The value 'PT0:0:8' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="82" col="55">
<msg>Value 'T0:0:44' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="82" col="55">
<msg>The value 'T0:0:44' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="83" col="53">
<msg>Value 'PT0:0:4' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="83" col="53">
<msg>The value 'PT0:0:4' of element 'MediaDuration' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="91" col="55">
<msg>Value 'T0:0:49' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="91" col="55">
<msg>The value 'T0:0:49' of element 'MediaTimePoint' is not valid</msg>
</Error>
<Error type="cvc-pattern-valid" line="92" col="54">
<msg>Value 'PT0:4:49' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
<Error type="cvc-type.3.1.3" line="92" col="54">
<msg>The value 'PT0:4:49' of element 'MediaDuration' is not valid</msg>
</Error>
<Total warning="0" error="40" fatal="0"/>
<Processed element="62" attribute="23" time="3152ms"/>
</Mpeg7Validation>

Matrixbob
24-08-2007, 16:00
Sempre la stessa analisi, ma con risultato in formato XML:

- <Mpeg7Validation file="output.mp7.xml">
- <Error type="cvc-pattern-valid" line="10" col="50">
<msg>Value 'T0:0:0' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="10" col="50">
<msg>The value 'T0:0:0' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="11" col="50">
<msg>Value 'PT0:5:39' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="11" col="50">
<msg>The value 'PT0:5:39' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="19" col="54">
<msg>Value 'T0:0:0' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="19" col="54">
<msg>The value 'T0:0:0' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="20" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="20" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="28" col="54">
<msg>Value 'T0:0:6' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="28" col="54">
<msg>The value 'T0:0:6' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="29" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="29" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="37" col="55">
<msg>Value 'T0:0:13' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="37" col="55">
<msg>The value 'T0:0:13' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="38" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="38" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="46" col="55">
<msg>Value 'T0:0:19' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="46" col="55">
<msg>The value 'T0:0:19' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="47" col="53">
<msg>Value 'PT0:0:5' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="47" col="53">
<msg>The value 'PT0:0:5' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="55" col="55">
<msg>Value 'T0:0:24' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="55" col="55">
<msg>The value 'T0:0:24' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="56" col="53">
<msg>Value 'PT0:0:6' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="56" col="53">
<msg>The value 'PT0:0:6' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="64" col="55">
<msg>Value 'T0:0:30' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="64" col="55">
<msg>The value 'T0:0:30' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="65" col="53">
<msg>Value 'PT0:0:5' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="65" col="53">
<msg>The value 'PT0:0:5' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="73" col="55">
<msg>Value 'T0:0:36' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="73" col="55">
<msg>The value 'T0:0:36' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="74" col="53">
<msg>Value 'PT0:0:8' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="74" col="53">
<msg>The value 'PT0:0:8' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="82" col="55">
<msg>Value 'T0:0:44' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="82" col="55">
<msg>The value 'T0:0:44' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="83" col="53">
<msg>Value 'PT0:0:4' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="83" col="53">
<msg>The value 'PT0:0:4' of element 'MediaDuration' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="91" col="55">
<msg>Value 'T0:0:49' is not facet-valid with respect to pattern '-?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?:-[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?(?:T[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}(?::[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*(?:\.[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?)?)?)?)?(?:F[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2})?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="91" col="55">
<msg>The value 'T0:0:49' of element 'MediaTimePoint' is not valid</msg>
</Error>
- <Error type="cvc-pattern-valid" line="92" col="54">
<msg>Value 'PT0:4:49' is not facet-valid with respect to pattern '-?P(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*D)?(?:T(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*H)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*M)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*S)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*N)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}f)?)?(?:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?][0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]*F)?(?:(?:-|\+)[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}:[0-9?-??-??-??-??-??-??-??-??-??-??-??-??-??-?]{2}Z)?'</msg>
</Error>
- <Error type="cvc-type.3.1.3" line="92" col="54">
<msg>The value 'PT0:4:49' of element 'MediaDuration' is not valid</msg>
</Error>
<Total warning="0" error="40" fatal="0" />
<Processed element="62" attribute="23" time="3147ms" />
</Mpeg7Validation>

cionci
24-08-2007, 16:04
Devi mettere:

PT00:00:05

Matrixbob
24-08-2007, 17:15
Devi mettere:

PT00:00:05

E' vero, così lo prende, che cavolata!

Già se metto 000:000:000 non lo prende +!

Tra l'altro sto cercando su Google e su Wiki le specifiche che descrivono MPEG-7, ma non si trova molto.
Anzi io, a parte qualche università, vedo solo pubblicità di libri e niente trippa online. :(

Mi pare leggesse 1 formato tipo:
9H8M10S o simile,
solo che non trovo riferimenti.

Matrixbob
24-08-2007, 17:34
Unica cosa interessante trovata è:
http://schemas.stylusstudio.com/mpeg7/frames.html

Da cui estrapolo:

<simpleType name="mediaDurationType">
<restriction base="mpeg7:basicDurationType">
<pattern value="\-?P(\d+D)?(T(\d+H)?(\d+M)?(\d+S)?(\d+N)?)?(\d+F)?"/>
</restriction>
</simpleType>

<simpleType name="mediaTimeOffsetType">
<restriction base="mpeg7:basicDurationType">
<pattern value="\-?P(\d+D)?(T(\d+H)?(\d+M)?(\d+S)?(\d+N)?)?(\d+F)?"/>
</restriction>
</simpleType>

<simpleType name="mediaTimePointType">
<restriction base="mpeg7:basicTimePointType">
<pattern value="(\-?\d+(\-\d{2}(\-\d{2})?)?)?(T\d{2}(:\d{2}(:\d{2}(:\d+)?)?)?)?(F\d+)?"/>
</restriction>
</simpleType>

Di dubbia interpretazione. :D

Matrixbob
24-08-2007, 17:52
Ogni tanto trovo
http://img524.imageshack.us/img524/7541/mp7tf8.06d1ec2091.jpg

Matrixbob
24-08-2007, 17:54
A volte così:
http://img524.imageshack.us/img524/7541/mp7tf8.png

o così:

<MediaTime>
<MediaTimePoint>T00:00:00:0F30000</MediaTimePoint>
<MediaIncrDuration mediaTimeUnit="PT1001N30000F">93
</MediaIncrDuration>
</MediaTime>


o così:

<MediaTime>
<MediaTimePoint>T00:00:00</MediaTimePoint>
<MediaDuration>PT0M32S</MediaDuration>
</MediaTime>

andbin
24-08-2007, 22:25
Tra l'altro sto cercando su Google e su Wiki le specifiche che descrivono MPEG-7, ma non si trova molto.Le specifiche non le ho ma se vai a vedere nel file mpeg7-udp-2004.xsd (si trova nella pagina che hai linkato all'inizio), si vede dallo 'schema' che il tempo è definito così:
<simpleType name="mediaTimePointType">
<restriction base="mpeg7:basicTimePointType">
<pattern value="(\-?\d+(\-\d{2}(\-\d{2})?)?)?(T\d{2}(:\d{2}(:\d{2}(:\d+)?)?)?)?(F\d+)?"/>
</restriction>
</simpleType>Il pattern è alquanto complesso ma si vede subito che molte parti sono opzionali. Inoltre risulta chiaro che ci può essere Tdd:dd:dd

Perché solo 2 digit per l'ora .... beh, credo che 99 ore siano più che sufficienti, in generale. ;)

Comunque un link utile è: http://en.wikipedia.org/wiki/Mpeg-7

Matrixbob
25-08-2007, 13:31
Le specifiche non le ho ma se vai a vedere nel file mpeg7-udp-2004.xsd (si trova nella pagina che hai linkato all'inizio), si vede dallo 'schema' che il tempo è definito così:
<simpleType name="mediaTimePointType">
<restriction base="mpeg7:basicTimePointType">
<pattern value="(\-?\d+(\-\d{2}(\-\d{2})?)?)?(T\d{2}(:\d{2}(:\d{2}(:\d+)?)?)?)?(F\d+)?"/>
</restriction>
</simpleType>Il pattern è alquanto complesso ma si vede subito che molte parti sono opzionali. Inoltre risulta chiaro che ci può essere Tdd:dd:dd

Perché solo 2 digit per l'ora .... beh, credo che 99 ore siano più che sufficienti, in generale. ;)

Comunque un link utile è: http://en.wikipedia.org/wiki/Mpeg-7
Alla fine ho sistemato che il codice mi spara questi documenti in output:

<?xml version="1.0" encoding="iso-8859-1"?>
<Mpeg7 xmlns="urn:mpeg:mpeg7:schema:2001"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mpeg7="urn:mpeg:mpeg7:schema:2001"
xsi:schemaLocation="urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd">
<Description xsi:type="ContentEntityType">
<MultimediaContent xsi:type="VideoType">
<Video>
<MediaTime>
<MediaTimePoint>T00:00:00</MediaTimePoint>
<MediaDuration>PT00H06M16S</MediaDuration>
</MediaTime>
<TemporalDecomposition>
<VideoSegment id="ITEM0">
<TextAnnotation>
<FreeTextAnnotation>Repubblica.it > Homepage</FreeTextAnnotation>
</TextAnnotation>
<MediaTime>
<MediaTimePoint>T00:00:00</MediaTimePoint>
<MediaDuration>PT00H00M26S</MediaDuration>
</MediaTime>
</VideoSegment>
...
...
...
</TemporalDecomposition>
</Video>
</MultimediaContent>
</Description>
</Mpeg7>

Ma come vedo uso lo schema:
xsi:schemaLocation="urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd">

, ne esiste anche uno del 2004 dici?