[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Seek your suggestions on how to determine if an XML Schema supportsthe structures denoted by XPath expressions
- From: Roger L Costello <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Thu, 4 Feb 2021 20:36:16 +0000
Hi Folks,
I am about to embark on a project. But I wanted to first check to see if anyone has done this kind of thing and/or can give me suggestions.
I created an XML Schema for a certain weird variant of XHTML.
Problem: I need to determine if my XML Schema supports all aspects of the XHTML variant.
Regrettably, the XHTML variant is not specified, anywhere. And, I do not have access to instances of the XHTML variant. But I do have access to thousands of XPath-ish expressions which denote the structures that may be present in instances of the XHTML variant. Here's an example of one of the XPath-ish expressions:
html/body/div/div/div
That informs me that my XML Schema must support this structure: <div> within a <div> within a <div> within a <body> within <html>
I want to automate things: for each XPath-ish expression, determine if my XML Schema supports the structure denoted by the expression.
I seek your suggestions on how to proceed.
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]