Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Missing Sun facelet DTD URL
Missing Sun facelet DTD URL [message #215265] Fri, 13 June 2008 09:08 Go to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3157
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd">


If I have the above header in foo.taglib.xml and on the third line, I
get a warning to the effect that

The file cannot be validated as the XML Schema
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd" that is specified as
describing the syntax of the file cannot be located

where do I get the DTD and how do I stick Eclipse's nose into it so that
it recognizes it? Have I misspelled this DTD's name subtly and can't see
what's wrong? I know this URL doesn't exist, but neither can Sun find
anything that might help me based on the key words it fabricates from my
bad URL.


I got this URL out of a tutorial and suspect that its incorrectness is
at the root of other problems I have in this facelet exercise.

Thanks,

Russ Bateman
Re: Missing Sun facelet DTD URL [message #215272 is a reply to message #215265] Fri, 13 June 2008 09:20 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Russ,

A quick google search turned up
http://www.mojavelinux.com/blog/archives/2006/01/eclipse_dtd _trick/


Windofkeltia wrote:
>
> <!DOCTYPE facelet-taglib PUBLIC
> "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
>
>
> If I have the above header in foo.taglib.xml and on the third line, I
> get a warning to the effect that
>
> The file cannot be validated as the XML Schema
> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" that is specified as
> describing the syntax of the file cannot be located
>
> where do I get the DTD and how do I stick Eclipse's nose into it so
> that it recognizes it? Have I misspelled this DTD's name subtly and
> can't see what's wrong? I know this URL doesn't exist, but neither can
> Sun find anything that might help me based on the key words it
> fabricates from my bad URL.
>
>
> I got this URL out of a tutorial and suspect that its incorrectness is
> at the root of other problems I have in this facelet exercise.
>
> Thanks,
>
> Russ Bateman
Re: Missing Sun facelet DTD URL [message #215280 is a reply to message #215272] Fri, 13 June 2008 09:23 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3157
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Ed Merks wrote:
> Russ,
>
> A quick google search turned up
> http://www.mojavelinux.com/blog/archives/2006/01/eclipse_dtd _trick/
>
>
> Windofkeltia wrote:
>>
>> <!DOCTYPE facelet-taglib PUBLIC
>> "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
>> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
>>
>>
>> If I have the above header in foo.taglib.xml and on the third line, I
>> get a warning to the effect that
>>
>> The file cannot be validated as the XML Schema
>> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" that is specified as
>> describing the syntax of the file cannot be located
>>
>> where do I get the DTD and how do I stick Eclipse's nose into it so
>> that it recognizes it? Have I misspelled this DTD's name subtly and
>> can't see what's wrong? I know this URL doesn't exist, but neither can
>> Sun find anything that might help me based on the key words it
>> fabricates from my bad URL.
>>
>>
>> I got this URL out of a tutorial and suspect that its incorrectness is
>> at the root of other problems I have in this facelet exercise.
>>
>> Thanks,
>>
>> Russ Bateman
Hmmmm, yes, pretty helpful. I'll have to then see if I can find this
particular DTD given this useful information. I wonder if also, assuming
I can ever find this DTD, if there's not a place I could just simply
stick it in my project so it would always be there?

Best,

Russ
Re: Missing Sun facelet DTD URL [message #215296 is a reply to message #215280] Fri, 13 June 2008 09:36 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Windofkeltia,

I suspect the XML catalog will be useful for that...


Windofkeltia wrote:
> Ed Merks wrote:
>> Russ,
>>
>> A quick google search turned up
>> http://www.mojavelinux.com/blog/archives/2006/01/eclipse_dtd _trick/
>>
>>
>> Windofkeltia wrote:
>>>
>>> <!DOCTYPE facelet-taglib PUBLIC
>>> "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
>>> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
>>>
>>>
>>> If I have the above header in foo.taglib.xml and on the third line,
>>> I get a warning to the effect that
>>>
>>> The file cannot be validated as the XML Schema
>>> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" that is specified
>>> as describing the syntax of the file cannot be located
>>>
>>> where do I get the DTD and how do I stick Eclipse's nose into it so
>>> that it recognizes it? Have I misspelled this DTD's name subtly and
>>> can't see what's wrong? I know this URL doesn't exist, but neither
>>> can Sun find anything that might help me based on the key words it
>>> fabricates from my bad URL.
>>>
>>>
>>> I got this URL out of a tutorial and suspect that its incorrectness
>>> is at the root of other problems I have in this facelet exercise.
>>>
>>> Thanks,
>>>
>>> Russ Bateman
> Hmmmm, yes, pretty helpful. I'll have to then see if I can find this
> particular DTD given this useful information. I wonder if also,
> assuming I can ever find this DTD, if there's not a place I could just
> simply stick it in my project so it would always be there?
>
> Best,
>
> Russ
Re: Missing Sun facelet DTD URL [message #215312 is a reply to message #215296] Fri, 13 June 2008 10:43 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3157
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

I found a tutorial for Exclipe's XML catalog--I didn't know of such a
thing.

Thanks,
Russ
Re: Missing Sun facelet DTD URL [message #215385 is a reply to message #215272] Fri, 13 June 2008 21:51 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3157
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Ed Merks wrote:
> Russ,
>
> A quick google search turned up
> http://www.mojavelinux.com/blog/archives/2006/01/eclipse_dtd _trick/

Wow, I ended up just using the trick and it worked like a charm. You had
to know the answer. Go figure that this little problem still exists in 2008!

Russ
Previous Topic:tomcat 6 with eclipse 3.2.2 ?
Next Topic:Trouble with facelet
Goto Forum:
  


Current Time: Sat Aug 30 10:28:18 EDT 2014

Powered by FUDForum. Page generated in 0.03007 seconds