0
votes
0answers
17 views

A scheme to check only one namespace in an XML document

I want to validate an XML document against some XML scheme, but ignore all elements (and probably attributes) which are not of a given namespace. Does such a XML scheme language exist?
2
votes
5answers
783 views

Why validate XML?

I am looking for an explanation on just why XML needs to be validated. I have been testing DTD's and Schema's for the past month and recently tried to find out why I am doing this. I know it makes the ...
2
votes
2answers
750 views

Validating Objects With XSDs: Is Re-Serializing Redundant or Negligible?

Context: I've got a web service that deals with request / response objects. There are strict, externally-defined schemas constraining both the structure and the content of both requests and ...
2
votes
2answers
86 views

Standard way of allowing general XML data

I'm writing a data gathering and reporting application that takes XML files as input, which will then be read, processed, and stored in a strongly-typed database. For example, an XML file for a "Job" ...
3
votes
2answers
528 views

Best practice for validating XML messages

Two systems are communicating via XML messages on a message queue and any received message must be validated for structure, content and business logic before being processed. An XML schema offers ...