views:

33

answers:

0

I have a string (source string) and XML schema string.

How do I validate this string against the schema entry? I do not need to validate whole XML document, just check if the string matches the certain XML schema entry.

I found it extremely cumbersome to wrap the string to XML document and then validate against all the schema, is there more light approach?