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

Re: The subsetting has begun


explicit content reference
From: "Joe English" <jenglish@f...>

> Rick Jelliffe wrote:
> >
> > SGML is more of a DAG, because of CONREF.  Sharing branches
> > is one thing XML gave up.
> 
> Actually, that's not what CONREF does.
> 
> The only significance of attributes with default value
> CONREF is that at most one such attribute may be specified
> in a start-tag, and if one is, the element is not allowed
> to have any content.

The significance of CONREF is in ISO 8879 

"4.57 content reference (attribute): An impliable attribute whose value is 
referenced by the application to generate data content.  NOTE: When an 
element has an explicit content reference, the element's content in the 
document instance must be empty."

The plain name says it: a reference to content: hence the DAG connection. 
That it is the application's job to do the branch sharing is fine: it is the 
application's job to build and present the in-memory structure or stream 
in any case. 

> Attributes with REFID declared value and CONREF default
> value are sometimes used to _encode_ DAGs, but that's purely
> an application convention.  CONREFness and REFIDhood aren't
> even reflected in the ESIS.   

Well, that is something to take up with the designer of ESIS, I guess :-)
Omnimark makes it trivial to assess whether some content is CONREFed,
something like

 ELEMENT x
    ...
     OUTPUT REFERENT zz WHEN 
        CONTENT IS CONREF
    ...

Cheers
Rick Jelliffe

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.