Application suddenly failing -- DOCTYPE missing?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Application suddenly failing -- DOCTYPE missing?

Hank Ratzesberger-2

Hi,

I am running :

Orbeon Forms 3.8.0.post.201006222200 CE

and as of this morning, I began getting the error

Fatal error: The markup declarations contained or pointed to by the document type declaration must be well-formed.

I believe this is happening when I attempt to ouput mediatype="text/html" from a xpl pipeline.

I notice that the DOCTYPE declared for xforms rendered pages is:

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict2.dtd">

and that the following url returns error 404:

http://www.w3.org/TR/html4/strict2.dtd

My brief look indicates that perhaps it should be looking for 'strict.dtd'

But I'm not sure when or how or if this changes (although some time ago the doctype was
html 4.01.

Appreciate any insights, thank you,
Hank


Hank Ratzesberger
NEES@UCSB
Earth Research Institute
University of California, Santa Barbara
805-893-8042








--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Application suddenly failing -- DOCTYPE missing?

Erik Bruchez
Administrator
Hank,

I don't think this has changed recently.

I notice that on the W3C site, http://www.w3.org/TR/html4/strict.dtd
redirects to http://www.w3.org/TR/html4/strict2.dtd.

This said, it is wrong that somebody tries to connect to any URL at
W3C! Do you have any way to make sure that Orbeon is actually
connecting to that URL, and if so in which conditions?

-Erik

On Fri, Aug 27, 2010 at 1:31 PM, Hank Ratzesberger <[hidden email]> wrote:

>
> Hi,
>
> I am running :
>
> Orbeon Forms 3.8.0.post.201006222200 CE
>
> and as of this morning, I began getting the error
>
> Fatal error: The markup declarations contained or pointed to by the document type declaration must be well-formed.
>
> I believe this is happening when I attempt to ouput mediatype="text/html" from a xpl pipeline.
>
> I notice that the DOCTYPE declared for xforms rendered pages is:
>
> <!DOCTYPE html
>  PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict2.dtd">
>
> and that the following url returns error 404:
>
> http://www.w3.org/TR/html4/strict2.dtd
>
> My brief look indicates that perhaps it should be looking for 'strict.dtd'
>
> But I'm not sure when or how or if this changes (although some time ago the doctype was
> html 4.01.
>
> Appreciate any insights, thank you,
> Hank
>
>
> Hank Ratzesberger
> NEES@UCSB
> Earth Research Institute
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Application suddenly failing -- DOCTYPE missing?

Hank Ratzesberger-2
Hi Erik,

Perhaps this campus has some kind of caching.  When I connect to

http://www.w3.org/TR/html4/strict.dtd

I get a file.

When I point my browser to:

http://www.w3.org/TR/html4/strict2.dtd

I get error 404.  I will ask our NOC about this.

As to why, well, OF has always connect to w3c for
the doctype files.  For this reason, I moved them to
a local directory and changed the doctype url to simply, e.g.,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "/xhtml1-strict.dtd">

But I only set up the xhtml doctype, and in this case, I am using
xxforms:call-xpl to render "text/html" media, so I didn't have
the doctype it requested when processing within epilogue.xpl.

I have often wondered if I should be setting an entity resolver, but
until now, making a copy is simpler.

Best,
Hank

On Aug 30, 2010, at 9:58 AM, Erik Bruchez wrote:

> Hank,
>
> I don't think this has changed recently.
>
> I notice that on the W3C site, http://www.w3.org/TR/html4/strict.dtd
> redirects to http://www.w3.org/TR/html4/strict2.dtd.
>
> This said, it is wrong that somebody tries to connect to any URL at
> W3C! Do you have any way to make sure that Orbeon is actually
> connecting to that URL, and if so in which conditions?
>
> -Erik
>
> On Fri, Aug 27, 2010 at 1:31 PM, Hank Ratzesberger <[hidden email]> wrote:
>>
>> Hi,
>>
>> I am running :
>>
>> Orbeon Forms 3.8.0.post.201006222200 CE
>>
>> and as of this morning, I began getting the error
>>
>> Fatal error: The markup declarations contained or pointed to by the document type declaration must be well-formed.
>>
>> I believe this is happening when I attempt to ouput mediatype="text/html" from a xpl pipeline.
>>
>> I notice that the DOCTYPE declared for xforms rendered pages is:
>>
>> <!DOCTYPE html
>>  PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict2.dtd">
>>
>> and that the following url returns error 404:
>>
>> http://www.w3.org/TR/html4/strict2.dtd
>>
>> My brief look indicates that perhaps it should be looking for 'strict.dtd'
>>
>> But I'm not sure when or how or if this changes (although some time ago the doctype was
>> html 4.01.
>>
>> Appreciate any insights, thank you,
>> Hank
>>
>>
>> Hank Ratzesberger
>> NEES@UCSB
>> Earth Research Institute
>> University of California, Santa Barbara
>> 805-893-8042
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Earth Research Institute
University of California, Santa Barbara
805-893-8042








--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws