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

Re: Pete's blend for XMLlite

  • From: David Carlisle <davidc@nag.co.uk>
  • To: Pete Cordell <petexmldev@codalogic.com>
  • Date: Wed, 08 Dec 2010 12:57:51 +0000

Re:  Pete's blend for XMLlite
On 08/12/2010 12:19, Pete Cordell wrote:
evelopers for each suggestion.
> It's at:
> http://codalogic.com/xmllite/xmllite.html
> I intend to update it from time-to-time as I see things on the list, and
> also as my position changes.
Could you fix the encoding, it's served as utf-8 but it apparently is 
encoded as latin1 (I have to change the encoding by hand in the browser 
view menu)

In 2.1 (called 3.1 in the toc) you say remove the _internal_ DTD but the 
rest of that section seems to imply that you mean removinbg the external 
dtd as well, since you say no attribute defaults or entities.
Either is a reasonable position to take for a suggestion like this, but 
I wasn't clear which you intended.

 > 2.2 - Discard CDATA Sections

Discarding CDATA sections would have some benefits, but not the one 
stated, as the sequence ]]> would still have to be trapped and escaped 
if xmllite was to be compatible with xml 1.0.

 > 2.3 - Limit Character Encodings to UTF-8 and UTF-16
see comment above:-)

 > 3.1.1 - Impact on existing XML parsers
this should also mention the (much bigger) impact on XPath that is 
proposed here.

 > 4.1.3 - Impact on applications

 > No impact.
The impact here is that applications reading files intended for xml1.0 
using & n b s p ; will be subject to silent data corruption.Changes that 
make previously illegal syntax legal, or previously legal syntax illegal 
are _much_ safer than changes that change the meaning of existing syntax.

 > 4.3 - Allow Nested Comments

you don't say what parsing  rules you want for comments.

<!--  aaaa <!-- -->

is currently illegal. Your suggested change 4.2 would make it legal and 
have comment text " aaaa <! "  but the addition of 4.3 would presumably 
change the rules so that --> closed only the inner comment, and so some
later part of the document is also commented. So effectively 4.3 would 
imply changing the existing rule that you can't have a comment 
containing -- to a new rule saying you can't have a comment containing <!--.

 > 4.4 - Preserve White Space in Attributes
again changing the meaning of existing syntax implies silent data 


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

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


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.
First Name
Last Name
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.