- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
RE: First draft of wiki text for 'scala-xml' project in Scala Incubator
Sat, 2010-01-02, 16:05
Anthony B. Coates wrote:
> Comments, etc. would be very welcome.
It's a great list of questions - what's the Scala community way of responding? I can list post all the questions with inline comments, or one post per question, but maybe that isn't going to be the most convenient format in which to have a discussion with more than a couple of participants?
In general, I think the answers should depend a lot on whether in each case we think we can come up with an implementation that does what a working approximation of everyone would expect a particular feature to do. For example, I would really hope that we could come up with an efficient W3C-compliant document representation so that it is rarely necessary to roll a new one or import a Java one. On the other hand, I'd be amazed if we could come up with the ideal huge document management scheme, because it's still a thorny research issue in the XML community in general.
ISTM that we also need to look at some Scala-specific questions, such as
- How cute does the new setup look compared to the old one? Cuteness seems to me to be the headline feature of the current system, ie no-fuss XML literals and XML processing. At the risk of committing a cultural faux pas, the Perl dogma of making the easy things easy and the hard things possible seems a good fit here. For example, support for nested namespace bindings should add as little complexity as possible to the treatment of documents that are entirely in the null namespace, or which are entirely in one particular namespace. I'm expecting the "cute syntax" test to be the most important one for many existing Scala users, especially the ones who don't like XML but have to use it from time to time.
- How does XML [im]?mutability work? The Scala line in the general case seems to be that there are times when both are useful, with a preference for immutability. The argument has been made on this list that there are good reason for XML trees to be immutable. I'd expect the wider Scala community to be interested in that aspect of any new XML technology.
- How easy it will be to build on top of whatever core technology is implemented? In other words, if we implement infoset support, will it be possible for third parties to grow that to PSVI or XDM support in a way that doesn't look like a kludge? If we can make sure that the answer to this sort of question is "yes", we can get away with doing less of the job as The One Scala XML Way, and that seems like A Good Thing to me. If the answer is "no", how useful is infoset support that can't be used to build things that are based on infosets?
Sat, 2010-01-02, 20:37
#2
Re: First draft of wiki text for 'scala-xml' project in Scala
On Sat, Jan 2, 2010 at 7:25 PM, Anthony B. Coates (Londata)
wrote:
> So, if you are happy for it just to be in e-mail, that's fine. If you would
> like to have it added to the wiki, you could ask someone like Miles Sabin
> to add you to the Scala Incubator project, or otherwise I can add your
> comments to the wiki myself if that is quicker and easier. Do you want me
> just to add your points into the list I compiled?
This list is appropriate for discussion of XML related topics, but the
Scala Incubator list might be appropriate too,
http://groups.google.com/group/scala-incubator
As far as the wiki is concerned: is it really only open to
collaborators to edit? Is it not possible to edit if you have a valid
github login?
Cheers,
Miles
On Sat, 02 Jan 2010 15:05:28 -0000, Mark Howe wrote:
> It's a great list of questions - what's the Scala community way of
> responding? I can list post all the questions with inline comments, or
> one post per question, but maybe that isn't going to be the most
> convenient format in which to have a discussion with more than a couple
> of participants?
That's a good question, how best to respond, and not necessarily for me to
say. Replying to this list is certainly one way. I tend to leave e-mails
unread if I think they contain something I will need to act on in future.
Alternatively, the wiki is a good place to add things that we may want to
refer back to in future (e.g. to see if what we've done matches what we
planned to do). The wiki is also a good place to summarise an e-mail
thread, or post a proposal.
So, if you are happy for it just to be in e-mail, that's fine. If you
would like to have it added to the wiki, you could ask someone like Miles
Sabin to add you to the Scala Incubator project, or otherwise I can add
your comments to the wiki myself if that is quicker and easier. Do you
want me just to add your points into the list I compiled?
Thanks, Cheers, Tony.