i can't seem validate http://pastebin.com/jbfzruud against http://pastebin.com/cgvtdvwa
here errors :
/schema-check xml.xml xsd.xsd error @ file "/stuff/xml.xml", line 3, column 63 message: unknown element 'dcst:subtitlereel' error @ file "/stuff/xml.xml", line 3, column 63 message: attribute '{http://www.w3.org/2000/xmlns/}dcst' not declared element 'dcst:subtitlereel' error @ file "/stuff/xml.xml", line 4, column 12 message: unknown element 'dcst:id' error @ file "/stuff/xml.xml", line 5, column 26 message: unknown element 'dcst:contenttitletext' error @ file "/stuff/xml.xml", line 6, column 24 message: unknown element 'dcst:annotationtext' error @ file "/stuff/xml.xml", line 8, column 46 message: unknown element 'xs:issuedate' error @ file "/stuff/xml.xml", line 8, column 46 message: attribute '{http://www.w3.org/2000/xmlns/}xs' not declared element 'xs:issuedate' fatal error @ file "/stuff/xml.xml", line 9, column 18 message: prefix 'xs' has not been mapped uri
i have experience on xml, less on namespace though i've done homework , read quite bit on namespaces on w3 site , xml validation, without finding wrong.
i appreciate help, build free online tool bit.ly/isqd4a
i've used online tools validate, , shema-check apache xml security software
tia
i use ide eclipse, intellij or xmlspy debug xsd , xml. kernow
if validate xml in such tool errors such
line 7, col 18 prefix "xs" element "xs:reelnumber" not bound.
that particular error means cant find reelnumber within xs namespace, should using dcst namespace.... , forth
targetnamespace in xsd "http://www.smpte-ra.org/schemas/428-7/2010/dcst"
the xml instance points dcst="http://www.smpte-ra.org/schemas/428-7/2007/dcst
Comments
Post a Comment