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

RE: Saxon and Sun Serializer problems?

  • From: Amelia A Lewis <amyzing@talsever.com>
  • To: Jim Tivy <jimt@bluestream.com>
  • Date: Fri, 29 May 2009 20:42:40 -0400

RE:  Saxon and Sun Serializer problems?
On Fri, 29 May 2009 14:40:38 -0700, Jim Tivy wrote:
> With regards to what a Transform Identity means - what does identity means.
> If it means InfoSet identity then if I read Infoset right: 

But it doesn't.  The infoset specification came out after DOM and SAX 
and XPath, and attempted to unify the various different models.  XPath 
(1.0 in this case, I assume) has its own notion of what is and is not 
important (or even visible).  XSLT (1.0) builds upon XPath.

> If it is XPath/XQuery DM identity - then if as you say there may be no idea
> of a DocType there, then that is a perhaps a flaw.

I dunno if they've addressed the issue in the XQuery Data Model (which 
is post-infoset, and an attempt to be still more formal and rigorous), 
as the doctype declaration or internal subset effectively exists at a 
"different layer" of processing (this is true even for bare XML 1.0, 
pre-edition-X, pre-namespaces, pre-infoset).  It is, roughly speaking, 
the same reason that an identity transform of &eacute; is considered 
correct if it produces é (the transformation does not operate at the 
processing level that exposes general parsed character entities; it 
just gets characters ... and likewise, the doctype decl and internal 
DTD subset are gone before it has a chance to look at them).

Amy!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
According to Business Week, in the 1990s the ratio between a chief
executive's salary and the takehome pay of the typical, feckless, 
whining grunt on the shopfloor rose from 85:1 to 475:1. (In the UK, 
which is seeing a vigorous popular backlash against "fat cat" pay 
packets, the ratio is 24:1).
               -- The Register


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.