Rolf Kulemann wrote:

On Sat, 2003-12-13 at 20:45, Stefano Mazzocchi wrote:


On 13 Dec 2003, at 11:05, Rolf Kulemann wrote:



On Sat, 2003-12-13 at 19:53, Rolf Kulemann wrote:


On Sat, 2003-12-13 at 19:04, Stefano Mazzocchi wrote:


On 13 Dec 2003, at 02:19, Rolf Kulemann wrote:


Is Epoz saving XHTML or HTML?


Depends on the loaded markup to edit. If I load clean XHTML Epoz seems
to add only valid xhtml.


Uuups, when inserting a table via epoz, an (invalid?) attribute gets
inserted into table tag. See this:

<table _moz_resizing="true" .....

All other edit actions result in valid xhtml.


I don't care about "valid" XML, but about "well formed" one. That's the important difference in cocoon-land.



Ok, so Epoz is generating wellformed xhtml. (?)




I would be against making StreamGenerator tidy aware, but for anything else go for it.



Sorry, what do you mean with tidy aware and go for it? (sorry)



Seems you have to learn the "cocoon speech" ;-)


- "tidy aware" means using jdity [1] to transform the HTML into well-formed XHTML (we actually don't care if it's valid according to the XHTML DTD, but need it to be syntactically correct XML).
- "go for it" means we agree with what we want to do.


So in "regular human speech", this means "your concerns are valid and you can implement them, but not by introducing a dependency on jtidy in the StreamGenerator".

Hope this is clearer, but I'm not sure as I speak the cocoon-speech for so long that I may even not notice when I'm using it ;-)

A question, by the way: is it possible for Epoz to submit its content as a regular form field, i.e. like an HTML input? It would be more convenient than a PUT in many circumstances.

Sylvain

[1] http://sourceforge.net/projects/jtidy

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com




Reply via email to