← Prev in month ← Prev in thread

Seek your suggestions on how to determine if an XML Schema supports the structures denoted by XPath expressions

From
Roger L Costello <>
To
"" <>
Date
2021-02-04T20:36:16Z
ID
<>
Thread
Seek your suggestions on how to determine if an XML Schema supports the structures denoted by XPath expressions
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
← Prev in month ← Prev in thread