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

Refactoring XML ? was Re: What is an XML Document?


refactoring xml
On Thu, Mar 07, 2002 at 04:15:26PM -0800, Tim Bray wrote:
> At 04:11 PM 05/03/02 -0500, Daniel Veillard wrote:
> >  For me there is no doubt that the document is the set. Well formedness
> >is defined for the set, and a well formedness error detected when parsing
> >an external entity affects the whole document.
> >
> >  Anyway, even if the REC may be ambiguous, from a programmer viewpoint the 
> >document instance will likely to be based on those extra sets, XPath 
> >for example requiring them.
> 
> More good arguments for getting rid of entities. -Tim

  If 1.0 had come without entities, I for sure know that libxml code
would be at least twice smaller, easier to read and would have probably
taken 4 time less time before reaching the current stability state.

  Changing it now is a two edged sword:
     - new incompatible XML version could be made simpler, easier to
       understand, etc ...
     - a bunch of application will never be able to upgrade and people
       shipping XML parser will anyway have to handle the complexity
       of 1.0

It's like HTML, now that the market has expect an HTML parser to digest
and render anything which could contain a <p> or <html> tag, it's very hard
to pull the plug and say "sorry you have to change", so far the cleanup
versions attempted like XHTML are not a success, I don't see why/how this
could be made to work with XML (I would love this but I don't see why this
would magically work this time, especially since contrary to HTML violations
this is correct behaviour for the previous version).

So while I understand the theorical practical use of such a major revision
I still don't see in practice how it can be useful, seems very hard to release
a parser that would understand only that "stripped down" version. I didn't
see any SML specific application flagged as such in the last year.

  So would such a large refactoring of any practical use? (independantly
of the possibility of cleaning up some of the grey area where some of the
core specification interract in bizarre ways.)

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@r...  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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.