[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Seek your suggestions on how to determine if an XMLSchema
Hi Roger, On Thu, 04 Feb 2021 21:36:16 +0100, Roger L Costello wrote: > > 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. > Maybe Hans-Jürgen Rennau's paper on location tree is a start: Rennau, Hans-Jürgen. 2017. “Location Trees Enable XSD Based Tool Development.” In XML London 2017 Conference Proceedings, 20–37. London, United Kingdom: XML London. https://doi.org/10.14337/XMLLondon17.Rennau01. IIRC it describe a program that generates all possible locations described by an XSD. Hope this helps! -- David > I seek your suggestions on how to proceed. > > /Roger > > _______________________________________________________________________ > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > to support XML implementation and development. To minimize > spam in the archives, you must subscribe before posting. > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > Or unsubscribe: xml-dev-unsubscribe@lists.xml.org > subscribe: xml-dev-subscribe@lists.xml.org > List archive: http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > -- David Maus M.A. Www: http://dmaus.name Twitter: @_dmaus
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|