![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XML Spy buffer data... >Thread Next - Re: XML Spy buffer data... Re: XML Spy buffer data...To: NULL Date: 3/2/2004 2:36:00 PM Daniel Bass wrote: > What I don't understand is why XMLSpy">XMLSpy can make them "two completely > different documents" by simply verifing a message against a XSD. AFAIK, XMLSpy">XMLSpy has bad habit of "adjusting" XML instance, when associating it with XSD Schema. If the schema has target namespace, but XML instance doesn't, XMLSpy">XMLSpy "fixes" XML instance. To avoid it, remove target namespace from your schemas. Your schema doesn't fit your XML. If your XML doesn't have namespace, why its schema has? > I tried the local-name() method but it didn't work, the mapping appeared to > return a match, but then none of the data that is scanned within the > template returns valid branches... You have also to fix *all* XPath expressions in your stylesheet! Instead of "a/b" - *[local-name()='a']/*[local-name()='b']. Crazy indeed. > Oh, it's so confuzzling. **8-$ Agree. Namespaces are probably the most confusing stuff in the whole XML :( -- Oleg Tkachenko [XML MVP, XmlInsider] http://blog.tkachenko.com | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
