Hi I've got a xml file and xsd with only one namespace - xmlns:media="http://search.yahoo.com/mrss". When I'm getting the rss feed for example from Youtube there're also others namespaces such as xmlns:atom or xmlns:yt. When I'm trying to validate this Xml with my xsd the validationeventhandler show me only the first error. But what when we got xml file like: <channel> <atom:id> Ident </atom:id> <atom:name> Name </atom:name> .... </channel> The Validator show me the atom:id is not in my xsd file but there's nothing about next wrong items such as atom:name. What should I do to change this to show me all the errors?? Thanks kplazinski
Two comments from me... A.) Apparently, the only trustworthy XML validator is the W3C Feed Validator [1] Its been discovered that feedvalidator.org vandalizes namespaces imposing political statements marking well-formed and valid XML with namespaces look like errors which can cause shallow thinkers to be misled to believe there is something wrong with the feed and then likely stop using it. B.) FYI, the Yahoo documentation has had a typo for some time that has apparently recently been updated. There is supposed to be a slash at the end of the MediaRSS namespace as shown... xmlns:media="http://search.yahoo.com/mrss/ I have no other comments regarding the validation of schema. Perhaps you are using the subversive XML vandalator I mentioned and advise not to use? [1] http://validator.w3.org/feed/ "Konrad" wrote in message news:a2d980aa-8d50-4ea5-904f-225472b24b79@b1g2000hsg.googlegroups.com... > Hi > I've got a xml file and xsd with only one namespace - > xmlns:media="http://search.yahoo.com/mrss". When I'm getting the rss > feed for example from Youtube there're also others namespaces such as > xmlns:atom or xmlns:yt. When I'm trying to validate this Xml with my > xsd the validationeventhandler show me only the first error. But what > when we got xml file like: > > <channel> > <atom:id> Ident </atom:id> > <atom:name> Name </atom:name> > .... > </channel> > > The Validator show me the atom:id is not in my xsd file but there's > nothing about next wrong items such as atom:name. > What should I do to change this to show me all the errors?? > > Thanks > kplazinski