[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Schema reporting tools - XQuery use case?

George Cristian Bina george at oxygenxml.com
Wed Sep 9 13:26:44 PDT 2009


  Schema reporting tools -  XQuery use case?
The commercial Saxon 9.2 EE (previous Saxon-SA) XML Schema processor has 
a command line switch that outputs an XML file with the schema 
information in a format suitable for further processing.
For details see the -scmout:filename option
http://www.saxonica.com/documentation9.2/schema-processing/commandline.html

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Hans-Juergen Rennau wrote:
> Hello People,
> 
> XQuery is _the_ language for agile and efficient evaluation of XML resources (who would contradict me?). But there is another important technology, of course, XML Schema: though its use is often reduced to document validation or data binding, schemas offer a great wealth of static information about (valid) documents. I am sometimes amazed how merrily this information is ignored, especially in projects that have to deal with very complex schemas.
> 
> Unfortunately, schemas are difficult to read and, worse, difficult to use as input for further processing, as the schema language allows to express the (essentially) same information in so many ways, what with model groups, attribute sets, type derivations, etc. Example: some configuration contains a data path, and one has the appropriate schema files available - how can one implement an automatic check of the path string against that schema?
> 
> In consequence, I believe creating "schema reporting" tools may be an important use case for XQuery.Here, schema reporting is understood as transforming schema files into a different serialized representation of all or some information the schema contains. (I am _not_ thinking of graphical representations as offered by XML IDEs unless they are accompanied by serialized versions appropriate to serve as input for further processing.) Some examples were: a tree representation of document structure, a list of valid data paths, a mapping of element and attribute names to the governing type, a mapping of type names to data paths.
> 
> Well - would anyone like to comment on the statement about such schema reporting being an important use case for XQuery?
> 
> In this context it is of course important to know what is already available (commercial or open source). Would anyone like to speak about available schema reporting tools (in the sense defined above)?
> 
> Thank you very much,
> with kind regards -
> 
> Hans-Juergen Rennau
> 
> 
>       
> 
> 
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk


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
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-2011 All Rights Reserved.