Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Hendrik Neumann
Hi everybody, I have a very serious problem according the ID allocation of MyFaces. MyFaces generates IDs which contains ':' but this is invalid due to the W3C XHTML-Standard. Most of you will appraise this as a disfigurement but the situation becomes very serious if you need to integrade

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Martin Marinschek
Well, the id generation is standardized by the JSF-Spec. I have already wondered why they standardized the rendering of invalid ids, but it seems they did... Also the starting underscore seems to be invalid according to the XHTML spec - no way around that either, sorry. regards, Martin On

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Hendrik Neumann
Martin, please tell me, that you're kidding! I simply can not believe that Sun Microsystems passes a spec which bashes offical web-standards! What is about MathML, SVG and so on: they need a valid XML-file to work, which JSF apparently is not creating. This simply means that all new and modern

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Martin Marinschek
Hi Hendrik I am very sorry for that - but it is unfortunately as it is, at least according to my knowledge. Maybe I am telling you rubbish, you should also contact the JSF reference implementation people on their mailing list and please tell back what you hear there if they know of any remedy.

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread John Fallows
It looks like ':' is supported by XML ID type. According to XML 1.0 specification, section 3.3.1, Attribute Types: http://www.w3.org/TR/2004/REC-xml-20040204/#sec-attribute-types the validity constraint for ID type, must follow the XML Name production: [5] Name ::= (Letter |

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Matt Blum
The starting underscore is invalid according to the XHTML spec, but post-initial colons are just fine: http://www.w3.org/TR/xhtml1/#C_8 -MattOn 5/20/05, Martin Marinschek [EMAIL PROTECTED] wrote: Well, the id generation is standardized by the JSF-Spec.I have already wondered why they

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Rob Decker
The html and xhtml specs allow colons as well although not as the first character: http://www.w3.org/TR/html4/types.html#h-6.2 http://www.w3.org/TR/xhtml1/#C_8 -- Rob @objectsource.org -- Original Message --- From: John Fallows [EMAIL PROTECTED] To: MyFaces Discussion

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Csík Norbert
Hi! I'm generating XHTML output without any problem at page validation (using Firefox). -- Csk Norbert http://norbert.web.elte.hu/ Programtervez matematikus Trilobita Informatikai Rt. - rendszertervez fejlesztmrnk ___ keep sm:)ing _ooo__C( O O )L__ooo__

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Hendrik Neumann
Hi Martin, I think forcedIDs will not help because a normal html-site created with myfaces is more or less completly unusable and invalid due to mime type application/xhtml+xml: the java-script-codes themself are not valid anymore, they are placed at invalid positions and the nesting of the

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Martin Marinschek
@John: XHTML is stricter in what is allowed than XML alone would be, you are right... @Hendrik: now you shouldn't have a problem at all with the id's - they are completely valid in the XML specifications, though the leading underscore disturbs in the XHTML spec? regards, Martin On 5/21/05,