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

RE: XML Schema to relaxNG xslt

  • To: "Eddie Robertsson" <erobertsson@a...>
  • Subject: RE: XML Schema to relaxNG xslt
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Sun, 23 Jun 2002 18:49:59 -0700
  • Cc: "John Cowan" <jcowan@r...>,"Rick Taylor" <taylor@p...>,<xml-dev@l...>
  • Thread-index: AcIbHHA0wN70HRz+T2Wft5BU1yj0HQAA9lcI
  • Thread-topic: XML Schema to relaxNG xslt

xml spy4
-----Original Message----- 
From: Eddie Robertsson [mailto:erobertsson@a...] 
Sent: Sun 6/23/2002 6:28 PM 
To: Dare Obasanjo 
Cc: John Cowan; Rick Taylor; xml-dev@l... 
Subject: Re:  XML Schema to relaxNG xslt

>The above looks perfectly valid at
>a first glance but when you pick up the magnifier glass you will find
>that the base type has a required attribute "firstSubscribed" which is
>made optional in the derived type. This is not a valid restriction
>because you can never remove anything that is required in the base type.
>I'm not sure if this was a simple typo by Dare or if he wasn't aware
>that this was indeed an illegal derivation. 
 
It was a typo/mixup. The schema violated the "child validates a subset of what the parent can validate" informal rule that I use for remembering how to derivation by restriction works. I should have attempted to validate it instead of composing it inline. :)
 
>XML Spy4.4 and MSXML4 both (incorrectly) says the above type derivation is valid

Thanks for the heads up, I'll file a bug about this. 

 

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.