Problem with ValidationEventHandler



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
.



Relevant Pages

  • Re: Referencing the xml: namespace in BTS2004
    ... namesace as any other namespace instead of the reserved namespace the W3C ... except for the "lang" attribute qualified to the special xml: ... > able to validate your xsd file and also xml.xsd and you should now be able ... > generated XSD was equivalent to the original DTD. ...
    (microsoft.public.biztalk.general)
  • Re: parsing XML file
    ... want to validate the XML file by a XSD ... Schema file I have. ... The Java code to validate with an XSD schema is trivial. ...
    (comp.lang.java.programmer)
  • XmlSchema doesnt include default namespace
    ... It makes some parts of my resultant dataset not validate and also VS does not recognise any relation elements. ... I have implemented a workaround by manually adding it after the xsd is genereted as such: ... Does any one know why the default namespace is not being included, and if there is a better workaround than I have done. ...
    (microsoft.public.dotnet.xml)
  • Re: parsing XML file
    ... I've got an XML file, ... Schema file I have. ... How can I validate the XML file with my XSD Schema? ...
    (comp.lang.java.programmer)
  • Re: xsd.exe cannot generate schema
    ... thought it should be dealt with by default by any schema inferencing tool ... The reason I ask is that BizTalk makes a lot of use of xsd schemas. ... xsd.exe cannot generate a schema from such an xml file. ... >> The xml file has a mix of defined namespaces and also an empty namespace. ...
    (microsoft.public.dotnet.xml)

Quantcast