[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

  • From: David Maus <lists@dmaus.name>
  • To: Roger L Costello <costello@mitre.org>
  • Date: Fri, 05 Feb 2021 07:39:19 +0100

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.