|
Re: Thought on future of XMLC: msg#00113java.enhydra.xmlc
Hi Mark, it mostly boils down to what do we do with invalid HTML (and how easy to use is XMLC). Since you joked about it: We did fire a html developer on the last project, we would send us some html and the developer who tried to check it into CVS found warnings from JTidy, then send it back to the html guy. That did cost us quite some time. His point is, it looks nice on all targeted browsers, if you mangle it and it doesn't look good any more it is your problem. We are setting the bar a bit higher if we require html being corecct to the spec. Most html developers can live without the spec until they get to know XMLC and JTidy. On my other project, I am working with an external html design studio. Even though they are very capable, I again have to explain what correct HTML is and what not. For me having html coded to the spec and using a presentation layer technology are really two things. Obviously other presentation layer technologies don't enforce correct html (JSP, struts, ASP,...). Technically XMLC does not need to do that either, if it adopts the concept of not changing more of the original html as neccessary. However, it insists on generating the HTML from nodes even if they were not changed (instead of taking the original HTML from the file), which makes it slower and IHMO more difficult to use. One great thing about xmlc is, that it lets the html developer work the way they are used to (with static html). This being said, I don't think we should force them to validate their HTML, because that is not the way they work. I think the tools should work the way most people are used to work successfully on projects. (Not adapting the people to a way of working we think they should work.) I am not talking about doing the right thing with invalid html. (which is also IMHO impossible) But why do i want to change portions of the original HTML if I don't have to? Changing them (that means generating them from the node tree, even though you could takes that part for the original html you have just parsed), is just slower, more error prone (we reported 2 bugs from JTidy in this project, don't even want to go into errors of the Swing parser) and forces us to code html to the spec, which difers from the reality in the browsers. (Even though it does not much difer, but anyway) taking the design goal of xmlc serious, that it only supports valid documents, then why not breaking the build if xmlc encouters any warning? Why support the Swing parser? I think these two things are already kompromises. I am not saying xmlc should support invalid html, but is not the job of xmlc to enforce it. Arno Mark Diekhans wrote: Hi Arno!!
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XMLC 2.2 Alpha 2 and Examples released (Download location), David Li |
|---|---|
| Next by Date: | Re: XMLC 2.2 Alpha 2 and Examples released (Download location), Jacob Kjome |
| Previous by Thread: | Re: Thought on future of XMLC, Mark Diekhans |
| Next by Thread: | Re: Thought on future of XMLC, David Li |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |