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

RE: Validation vs performance - was Re: Fast text ou

  • To: "'John Cowan'" <cowan@c...>
  • Subject: RE: Validation vs performance - was Re: Fast text output from SAX?
  • From: "Alessandro Triglia" <sandro@m...>
  • Date: Tue, 20 Apr 2004 00:25:25 -0400
  • Cc: <xml-dev@l...>
  • Importance: Normal
  • In-reply-to: <20040420041006.GB19958@c...>

RE:  Validation vs performance - was Re:  Fast text ou


> -----Original Message-----
> From: John Cowan [mailto:cowan@c...] 
> Sent: Tuesday, April 20, 2004 00:10
> To: Alessandro Triglia
> Cc: xml-dev@l...
> Subject: Re:  Validation vs performance - was Re: 
>  Fast text output from SAX?
> 
> 
> Alessandro Triglia scripsit:
> 
> > Of course, if you want that kind of flexibility and still 
> be able to 
> > use schema-based validation, you can write your schema in 
> such a way 
> > that it accepts both the attribute and the child element, 
> and make the 
> > attribute not required and the element minOccurs zero.  
> Then you can 
> > impose an application-level constraint that the element and the 
> > attribute must (should?) not both be present at the same time.
> 
> RELAX NG, however, can handle this directly at the schema 
> level by defining a choice between a child element and an attribute.


I know.  We have already started a discussion in the ASN.1 group on whether
and how to support this in ASN.1, and there is agreement on relaxing some of
the current restrictions.  This will likely be handled by an amendment to
XER (2005 most likely).

Alessandro Triglia


> 
> -- 
> But that, he realized, was a foolish            John Cowan
> thought; as no one knew better than he          
> jcowan@r...
> that the Wall had no other side.                
> http://www.ccil.org/~cowan
> --Arthur C. Clarke, "The Wall of Darkness"
> 


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.