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 5/20/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote: > 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 MathML-formulas in > your myfaces-web-app. > > Because MathML need a "application/xhtml+xml" mime-type for the html-documents > which causes most browsers to validate the document against the dtd. Then the > browser recognize that this document is not a valid xhtml/xml-document > (because of invalid id's) and the document is not beeing showed in the > browser - instead the browser displays a "file is not a valid > xml-document"-message! > > Is there a workaround to generate VALID ids with myfaces? Otherwise I'm not > able to integrate MathML-formulas in my myfaces-web-app which will make my > hole content-mangement-system unsuitable for the hole research center! > > Greetings, > Hendrik >

