Thursday, July 26, 2012

JSF Tip of the Day: <facelet-taglib /> Schema Declaration Issue

This is not so much as a tip as a warning. If you are trying to use the published schema at Java EE : XML Schemas for Java EE Deployment Descriptors and specifically the facelet-taglib schema from the definition, it has a typo in the declaration.

INCORRECT


CORRECT

Do you see the error?

It is in the schemaLocation. They misspelled library as libary in web-facelettaglibrary_2_0.xsd.


I try to confirm the schema from the source rather than copying it from some other non-authoritative source. This time I found a problem with the cannon source.

0 comments :

Popular Posts