The Artima Developer Community
Sponsored Link

Agile Buzz Forum
XML 1.1 - the bad and the ugly

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
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
XML 1.1 - the bad and the ugly Posted: Feb 6, 2004 3:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: XML 1.1 - the bad and the ugly
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement
Dare Obasanjo jumps on Mark Pilgrim for using XML 1.1. Now, from reading the warnings Dare links to, it certainly sounds like most people should avoid 1.1:

Everything you need to know about XML 1.1 can be summed up in two rules:

  1. Don't use it.
  2. (For experts only) If you speak Mongolian, Yi, Cambodian, Amharic, Dhivehi, Burmese or a very few other languages and you want to write your markup (not your text but your markup) in these languages, then you can set the version attribute of the XML declaration to 1.1. Otherwise, refer to rule 1.

Well, regardless of what people should use, rest assured that they will use 1.1. Now, we don't have a 1.1 parser in VW at this point (we likely will by the next release). In the meantime, after a couple of small hacks, BottomFeeder handles Mark's feed just fine. I've posted the update to the dev stream; I may back it down to the regular stream if I don't see any issues with it

This is one of the really nifty things about using Smalltalk, actually - anyone use Java or .NET, and using the shipping XML libraries, is kind of up the creek - you can't easily make small changes to these libraries, and even subclassing could be problematic (I have no idea if critical classes in these frameworks are declared final, but they could be). Meanwhile, I was able to deal with this in a work-around kind of way in minutes - and I'm no parser expert....

Read: XML 1.1 - the bad and the ugly

Topic: My CSS adventure Previous Topic   Next Topic Topic: Super Sunday

Sponsored Links



Google
  Web Artima.com   

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