I have a string (source string) and XML schema string.
How do I val开发者_如何学JAVAidate 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?
精彩评论