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

genx - consensus items

  • To: xml-dev mailing list <xml-dev@l...>
  • Subject: genx - consensus items
  • From: Tim Bray <tbray@t...>
  • Date: Wed, 21 Jan 2004 19:21:13 -0800

consensus items
Tons o' comments from out there, much of it in the category of "how 
could I have stupidly missed that" then some more stuff that's been 
boiled down in xml-dev.  Whereas this is unlikely to be a second SAX, I 
suspect it has a chance of being another success with xml-dev stamped 
on the side.  This note summarizes the changes I plan that I don't 
think are controversial, and requests-for-enhancement that am just 
*not* gonna do.  I'll follow up with some detailed posts in issues that 
I think could use more argument.

1. Change comments from // to /* */.  Sigh.

2. Need a "dispose" method, and a callback to set the free() when you 
set the allocator

3. the genxPI call needs separate arguments for the target and the rest 
of the text

4. add get* calls analogous to the set* calls, on general principles 
and to allow installation of local error handlers and so on.

5. Lose all the genx*W calls (the ones with codePoint * args).  Keep 
the genxCharacter(genxWriter w, int character) call.

6. Lose the abort()-on-error; after the first error all genx-calls are 
no-ops that keep returning error

7. A couple more errorcodes, the number of possible error conditions is 
in single digits even with really granular distinctions, might as well 
report 'em accurately

Requests for enhancement that I am just *not* going to do unless we get 
some really new information:

1. Any output encoding other than UTF-8
2. Optional escaping of illegal characters
3. Prettyprinting support
4. Various kinds of error workarounds, and turning errorchecking off
5. Writing CDATA sections
6. Writing XML declaration (good idea, but I want the output to be 
Canonical XML)
7. Default namespaces
8. Control over attribute quote characters
9. Control over <foo/> vs. <foo></foo>
10. Functions to write an internal DTD subset
11. Access to internal namespace declarations


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.