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

Re: Vocabulary Combination


describing charts
On Friday, May 30, 2003, at 11:59 AM, J.Pietschmann wrote:

> Arjun Ray wrote:
>> | 1. avoiding collisions
>> A non-problem.
>
> Really?
> You probably know the XSLFO spec includes an element named
> instream-foreign-object, which is intended as a sort of hook
> for FO processors to provide functionality which may otherwise
> be awkward to provide in XSLFO. Famous examples include
> embedding SVG and MathML but also less widespread stuff like
> charts, diagrams or graphs. It is common that the embedded
> data is XML, using a vocabulary which was in general
> designed independently from XSLFO. A vocabular for diagrams
> can conceivably contain a block element, which has most
> probably a different content model and often a different
> processing expectation that XSLFO's block element.

I don't know if these are formally defined terms but what you describe 
above sounds like you're *embedding* one vocabulary in another. You're 
not *mixing* the two vocabularies. XSLFO elements aren't supposed to 
appear as children of instream-foreign-object so it doesn't seem 
possible for collisions to occur in this context.

The elements from SVG, MathML, or other vocabulary are contained 
entirely within the instream-foreign-object element. All you really 
need is an attribute on that element to indicate to processors what 
vocabulary the foreign object is described in. The value of that 
attribute could even be a URI if you were so inclined.

The fact that the embedded vocabulary might contain a block element 
with a different content model than XSLFO is only a problem for DTDs 
(and other similarly crippled schema languages). But I didn't think we 
were talking about validation.

Jason


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.