The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
XML omnibus: demystification, RelaxNG, Postel's law

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jackson Miller

Posts: 222
Nickname: jaxn
Registered: Oct, 2004

Jackson Miller is a software developer in Nashvillle, TN currently working at CentreSource.com
XML omnibus: demystification, RelaxNG, Postel's law Posted: Oct 13, 2005 12:04 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jackson Miller.
Original Post: XML omnibus: demystification, RelaxNG, Postel's law
Feed Title: Jackson Miller - ruby
Feed URL: http://jaxn.org
Feed Description: the view from East Nashville
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jackson Miller
Latest Posts From Jackson Miller - ruby

Advertisement
  • You know we're in trouble when we need an XML Acronym Demystifier. Things are really getting out of hand.

  • Tim Bray is extolling RelaxNG after his experiences writing a schema for Pie/Echo/Atom/Whatever. I agree that RelaxNG is technically superior to XML Schema. I've all but given up on RelaxNG supplanting XML Schema as the majority schema language for XML. I suppose that's mostly because I'm looking at it through the lens of Xerces and the disinterest we've had from RelaxNG knowledgeable folks in the past.

    Something needs to happen for RelaxNG to pick up momentum. Right now, it's just another one of those acronyms that we need the demystifier for. Until the RelaxNG community starts showing up to projects and helping to build RelaxNG support, RelaxNG will remain obscure. A few years ago I tried to use the leverage that we had with Xerces-J to try and advance RelaxNG, but no one was interested enough to help us. If the RelaxNG folks don't care enough to get RelaxNG support into the most popular processors in all the major languages, then they can't expect the rest of us to care.

  • I partially disagree with Aaron Swartz and Mark Pilgrim (and probably a host of others) on Postel's law. All the examples that Aaron gives are related to documents that users might process (this includes RSS feeds, where I've been bitten by his reason #1). I agree that in those situations, it's desirable for the parser to be Postel compliant (i.e. lenient). But in situations where the XML is generated for machines, by machines, I think that the XML spec writers were correct. Let them eat fatalErrors, because there's a bug in a program somewhere that needs to get fixed.

    One of the motivations for the Xerces Native Interface was to allow us to build families of parsers by replacing pieces of the framework. So you could implement a strict XML parser (which is what XMLDocumentScannerImpl is) or you could implement a Postel XML parser. Only problem is that nobody cares enough to implement a Postel XML parser.

Read: XML omnibus: demystification, RelaxNG, Postel's law

Topic: MX4 0.5.0 Release Previous Topic   Next Topic Topic: EuRuKo 2005

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use