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

Re: PSVI using existing infoset items

  • From: Francis Norton <francis@r...>
  • To: Rick Jelliffe <ricko@a...>
  • Date: Tue, 16 Oct 2001 19:09:52 +0100

psvi tutorial
Thank you Rick, never had one of my transforms called amazing before!

The current state of play is at
http://www.schemavalid.com/utils/typeTagger.zip, and as I've mentioned
on xsl-list, it will compile a typeTagger transform from a schema. The
typeTagger transform will mark up all elements in a compliant document
with their unique element name and unique type name. So far it seems to
handle global elements, local
elements, global types, anonymous types and refs correctly, and ought to
handle xsd:include too, though I haven't tested that. It doesn't yet
handle inheritance by extension or redefines. And frankly it's probably
ready for a bit of code refactoring. But the overall code structure is a
lot simpler than I expected, and it may have some tutorial value.

It does show that there is an interesting and possibly useful division
of schema processing between type recognition and full-on validation.

I'll definitely be working on it, but if anyone wants to take on a
feature or two, or to build an equivalent for Relax NG, I'd be delighted
to co-operate.

Francis.

Rick Jelliffe wrote:
> 
>  From: "Eric van der Vlist" <vdv@d...>
> 
> > Why not add the additional information as elements and attributes from a
> > specific namespace?
> 
> > Isn't it worth considering?
> 
> Francis Norton has shown me an amazing XSLT script he wrote which adds the element type information from an XML Schema to an instance. It sounds like the kid of thing you are suggesting.
> 
> (Francis has suggested that using it allows Schematron contexts access to PSVI type information. This would be much more satisfactory for, in particular Schematron rules embedded in XML Schemas.)
> 
> Cheers
> Rick Jelliffe
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>

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.