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

RE: ANN: XSet an XML property set

  • From: Jonathan Borden <jborden@m...>
  • To: sam th <sam@u...>
  • Date: Fri, 04 Aug 2000 07:25:44 -0400

set xml
Sam, this is very helpful. Since we are writing the production-language as
we go along :-)

An issue for discussion is whether to use regexp expressions "as-is" or to
rewrite these in an XML equivalent. Since code exists for regexp matching,
my initial thoughts were to try to leave the regexps intact and attach them
as constraints via the attribute "regexp". In many ways, your proposal is
more logical from the pure XML perspective, on the other hand there are lots
of regexps in XML 1.0 and using this syntax will make the document
significantly larger.

For example, you are proposing

<exclude>
	<from>Name</from>
	<c char="?"/>
	<c char=">"/>
</exclude>

I was considering:

<Name regexp="[^?>]" />

also,

<foo repeat="?" /> would map to foo?

What do you think?

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org

> -----Original Message-----
> From: sam@t... [mailto:sam@t...]On Behalf Of sam
> th
> Sent: Friday, August 04, 2000 2:41 AM
> To: Jonathan Borden
> Cc: xml-dev@x...; John Cowan; Simon St.Laurent; Tim Bray
> Subject: Re: ANN: XSet an XML property set
>
>
> On Thu, 3 Aug 2000, Jonathan Borden wrote:
>
> > is a *very very* rough sketch of an XML property set describing
> the XML 1.O
> > production rules in RDF. This property set, when completed,
> will define the
> > XML grove in RDF.
> >
> > Plan: 1) Complete the rest of the XML 1.0 productions
> > 	2) Refine the production rule description language if necessary
> > 	3) Incorporate XML namespace productions
> > 	4) Define a language with which to subset XSet (current
> candidate XSLT)
> >
> > Goals:
> > 	1) To get it "right"
> > 	2) to produce an subset (?XSLT "grove plan") which
> transforms XSet into the
> > XML Infoset WG Appendix D, RDF Schema (i.e. define XML Infoset
> as a proper
> > subset of XSet).
> > 	3) To produce a subset defining SAX
> > 	4) To produce subsets defining Common XML, SML
> >
> > Help and comments are actively requested.
>
> Attached are productions in XML for the PI productions (16 and 17).  I had
> to invent some new syntax, since foo? had not yet been used, nor [a -
> b].  Hope this is helpful.
>
> 			     	sam th
> 			     	sam@u...
> 				http://www.abisource.com/~sam/
>


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.