[xml] XML Schemas mapped to the namespaces in an xsi:schemaLocation attribute



Hi,

I am using nokogiri binding of libxml 2.7.3 for Xml validation against
Xml schema with xsi:schemaLocation attribute.

I get this error using  ruby binding and same error I get whem i use XMLLINT.

"Element '{http://example.com/main}RYT': No matching global
declaration available for the validation root."

Does libxml 2.7.3 provide a way to validate a document against multiple
 XML Schemas such that any XML in different namespaces, with other XML
 Schemas mapped to the namespaces in an xsi:schemaLocation attribute on
 the root element are validated against their respective schemas if
 they are present?

Please help me.

Thanks
Gangadhar



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]