[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ANN: a tool that makes it easier to extract information ou

  • From: <w3c@drrw.info>
  • To: "Costello, Roger L." <costello@mitre.org>, "xml-dev@l..." <xml-dev@l...>
  • Date: Tue, 22 May 2012 14:54:06 -0700

RE:  ANN: a tool that makes it easier to extract information ou
Roger,

This type of analysis and a whole lot more is supported by the CAM Editor also - see the Tools / Evaluation report option - and the "how to" video here: - http://sourceforge.net/apps/mediawiki/camprocessor/index.php?title=Tutorial.

You can also make dictionaries of the components in your schema and then reuse them via visual drag and drop designer.

The latest release of CAM Editor v2.2 just shipped today - see http://www.cameditor.org 

Enjoy, DW
-------- Original Message --------
Subject: ANN: a tool that makes it easier to extract
information out of XML Schemas
From: "Costello, Roger L." <costello@mitre.org>
Date: Sat, May 19, 2012 2:43 pm
To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>

Hi Folks,

I created a tool that makes it easier for you to extract information
out of XML Schemas.

Here is the tool:

http://www.xfront.com/XML-Schema-Tool-for-Easy-Information-Extraction/index.html

Motivation for the tool:

Here are a few examples of queries that I've needed to perform
on schemas in the past:

- What are all the elements and attributes that are declared
to be of type xs:QName (or xs:string, or xs:gYear, etc.)?

- For simpleType A, what are its applicable facets? (Take
into account the facets in all its ancestor simpleTypes)

- How many element declarations are in the schema? How many
complexType definitions? simpleTypes? attributes?

- How many lines of schema code are there?

With my tool it is easy to get answers to those questions.

Without this tool, it can be difficult to get the info you desire
from XML Schemas. Here are a few reasons for the difficulty:

1. The schema may be scattered over multiple files. So you have
to search through multiple files to find the info you want.

2. A simpleType may be part of a long chain of restrictions. And the
simpleTypes may be scattered over multiple files. That
makes it difficult to know exactly what is the net value space
for the simpleType.

3. Likewise a complexType may be part of a long chain of derive-by-
extensions and derive-by-restrictions. And the complexTypes
may be scattered over multiple files. That makes it difficult
to know exactly what is the final set of elements and attributes
in a complexType.

4. An element may be substituted. So, many different elements may
be possible at a certain point in a schema.

5. Consider an element declaration with a type attribute. The type
definition could be located in many places: in the document that
the element declaration is located in, in a document that it
includes or imports, or one that they include or import. It
could be in the document that included the document that
contains the element declaration. And many more places. Ouch!

6. The elements and attributes in a no-namespace schema are
part of one namespace when they are included by a schema with
targetNamespace A and another namespace when they are included
by a schema with targetNamespace B.

/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



[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.