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
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
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
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.
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 |
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
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
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__
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
@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,
10 matches
Mail list logo