Hi,

I believe Matthias is experiencing a problem with compiling *his* code in Borland JDeveloper using a nightly binary download of myfaces.

The nightly builds are still working fine, even with the glitches in the TLD files reported; it's only *you* (Dennis) who is getting build errors for these AFAIK.

It would appear that JDeveloper validates .tld files against their DTD while compiling JSP code that uses that TLD. JDeveloper is probably going too far here, as this validation step is not necessary to compile user code. However it was correctly pointing out that <display-name> should come before <description> in a taglib header.

I don't know what the new issue that Matthias is reporting is about:

>>>> Error(1396,19): Invalid element 'description' in content
>>> of 'tag', expected
>>>> elements '[attribute, example]'.

There is no "line 1396" in file myfaces_core.tld, and a quick look over the file doesn't show any <tag> entries that are wrong as far as I can see. The error message seems to be suggesting that there is:
 <tag>
   <variable>..</variable>
   <description>...</description>
or
  <tag>
    <attribute>..</attribute>
    <description ...>
which would be the wrong order. However I can't see any such thing.

Regards,

Simon

Dennis Byrne wrote:
You have a compilation error w/ myfaces-all.jar? Is this is a compilation error w/ the source from nov 27, or a run time error from the binaries that were apparently built from that code?
---- Original message ----
Date: Mon, 28 Nov 2005 12:04:48 +0100
From: "Matthias Kahlau" <[EMAIL PROTECTED]> Subject: AW: Compilation error because of taglib file errors
in Nightly 20051127
To: "MyFaces Discussion" <[email protected]>

Hi!


I think they create a build each night from the latest SVN.
I tried to use
the myfaces-all.jar in the binaries zip.


Regards,
Matthias

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:users-return-12912-
[EMAIL PROTECTED] Auftrag
von Dennis Byrne
Gesendet: Montag, 28. November 2005 11:11
An: MyFaces Discussion
Betreff: Re: Compilation error because of taglib file
errors in Nightly
20051127


Hmm ... there appears to be a several good jars in the
myfaces-20051127.zip file from the archives.

They do a snapshot and a build, right?

---- Original message ----
Date: Mon, 28 Nov 2005 11:05:28 +0100
From: "Matthias Kahlau" <[EMAIL PROTECTED]>
Subject: Compilation error because of taglib file errors
in
Nightly 20051127
To: "Users MyFaces" <[email protected]>

Hi!


I still get the following compilation errors with Nightly
20051127 (using
JDeveloper 10.1.2.0.0):


Error(1396,19): Invalid element 'description' in content
of 'tag', expected
elements '[attribute, example]'.
Error(6): Laden von Taghandler-Klasse:
http://java.sun.com/jsf/core nicht
möglich.

Error(1396,19): Invalid element 'description' in content
of 'tag', expected
elements '[attribute, example]'.
Error(7): Laden von Taghandler-Klasse:
http://java.sun.com/jsf/html nicht
möglich.

Error(1396,19): Invalid element 'description' in content
of 'tag', expected
elements '[attribute, example]'.
Error(8): Laden von Taghandler-Klasse:
http://myfaces.apache.org/tomahawk
nicht möglich.




Reply via email to