HTML 4.01 DTD validation problem [message #57620] |
Mon, 14 February 2005 08:07 |
Eclipse User |
|
|
|
Originally posted by: ushakov.int.com.ru
Hi,
I suspect my problem is most likely a FAQ, but I still could not find an
answer...
I'm working on a schema that includes the HTML 4.01 DTD.
If I indicate 'http://www.w3.org/TR/html4/strict.dtd' as 'Schema location'
for the <import> directive, I get the following error:
http://www.w3.org/TR/html4/strict.dtd is an invalid XML schema file
If I make a local copy of this DTD and try to validate it, I get the
following error:
The declaration for the entity "ContentType" must end with '>'. ... line
81 ...
And line 81 contains a comment inside !ENTITY declaration.
I have added Xerces 2.6.2 to my configuration as prescribed by page
http://www.eclipse.org/webtools/wst/components/xml/xercesInf o.xml
I have Eclipse 3.1.0 Build id: 200412162000 on Windows.
My JVM: 1.5.0_01
My XSD: Version: 2.1.0 Build id: 200502100800
My EMF: Version: 2.1.0 Build id: 200502100800
Any ideas?
Thanks,
Sergey
|
|
|
Re: HTML 4.01 DTD validation problem [message #57646 is a reply to message #57620] |
Mon, 14 February 2005 11:20 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Sergey,
A .dtd is not a .xsd and won't even parse as XML. You will need to find
the .xsd rather than the .dtd.
Ushakov, Sergey wrote:
>Hi,
>
>I suspect my problem is most likely a FAQ, but I still could not find an
>answer...
>
>I'm working on a schema that includes the HTML 4.01 DTD.
>
>If I indicate 'http://www.w3.org/TR/html4/strict.dtd' as 'Schema location'
>for the <import> directive, I get the following error:
> http://www.w3.org/TR/html4/strict.dtd is an invalid XML schema file
>
>If I make a local copy of this DTD and try to validate it, I get the
>following error:
> The declaration for the entity "ContentType" must end with '>'. ... line
>81 ...
>And line 81 contains a comment inside !ENTITY declaration.
>
>I have added Xerces 2.6.2 to my configuration as prescribed by page
> http://www.eclipse.org/webtools/wst/components/xml/xercesInf o.xml
>
>I have Eclipse 3.1.0 Build id: 200412162000 on Windows.
>My JVM: 1.5.0_01
>My XSD: Version: 2.1.0 Build id: 200502100800
>My EMF: Version: 2.1.0 Build id: 200502100800
>
>Any ideas?
>
>Thanks,
>Sergey
>
>
>
>
|
|
|
Re: HTML 4.01 DTD validation problem [message #57679 is a reply to message #57646] |
Mon, 14 February 2005 14:39 |
Eclipse User |
|
|
|
Originally posted by: ushakov.int.com.ru
Thanks Ed,
it's honey to my soul to know that nothing seems to be wrong with my config
:)
Regards,
Sergey
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:cuq1h5$g7$1@www.eclipse.org...
Sergey,
A .dtd is not a .xsd and won't even parse as XML. You will need to find
the .xsd rather than the .dtd.
Ushakov, Sergey wrote:
>Hi,
>
>I suspect my problem is most likely a FAQ, but I still could not find an
>answer...
>
>I'm working on a schema that includes the HTML 4.01 DTD.
>
>If I indicate 'http://www.w3.org/TR/html4/strict.dtd' as 'Schema location'
>for the <import> directive, I get the following error:
> http://www.w3.org/TR/html4/strict.dtd is an invalid XML schema file
>
>If I make a local copy of this DTD and try to validate it, I get the
>following error:
> The declaration for the entity "ContentType" must end with '>'. ...
line
>81 ...
>And line 81 contains a comment inside !ENTITY declaration.
>
>I have added Xerces 2.6.2 to my configuration as prescribed by page
> http://www.eclipse.org/webtools/wst/components/xml/xercesInf o.xml
>
>I have Eclipse 3.1.0 Build id: 200412162000 on Windows.
>My JVM: 1.5.0_01
>My XSD: Version: 2.1.0 Build id: 200502100800
>My EMF: Version: 2.1.0 Build id: 200502100800
>
>Any ideas?
>
>Thanks,
>Sergey
>
>
>
>
|
|
|
Re: HTML 4.01 DTD validation problem [message #593948 is a reply to message #57620] |
Mon, 14 February 2005 11:20 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Sergey,
A .dtd is not a .xsd and won't even parse as XML. You will need to find
the .xsd rather than the .dtd.
Ushakov, Sergey wrote:
>Hi,
>
>I suspect my problem is most likely a FAQ, but I still could not find an
>answer...
>
>I'm working on a schema that includes the HTML 4.01 DTD.
>
>If I indicate 'http://www.w3.org/TR/html4/strict.dtd' as 'Schema location'
>for the <import> directive, I get the following error:
> http://www.w3.org/TR/html4/strict.dtd is an invalid XML schema file
>
>If I make a local copy of this DTD and try to validate it, I get the
>following error:
> The declaration for the entity "ContentType" must end with '>'. ... line
>81 ...
>And line 81 contains a comment inside !ENTITY declaration.
>
>I have added Xerces 2.6.2 to my configuration as prescribed by page
> http://www.eclipse.org/webtools/wst/components/xml/xercesInf o.xml
>
>I have Eclipse 3.1.0 Build id: 200412162000 on Windows.
>My JVM: 1.5.0_01
>My XSD: Version: 2.1.0 Build id: 200502100800
>My EMF: Version: 2.1.0 Build id: 200502100800
>
>Any ideas?
>
>Thanks,
>Sergey
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: HTML 4.01 DTD validation problem [message #593973 is a reply to message #57646] |
Mon, 14 February 2005 14:39 |
Eclipse User |
|
|
|
Originally posted by: ushakov.int.com.ru
Thanks Ed,
it's honey to my soul to know that nothing seems to be wrong with my config
:)
Regards,
Sergey
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:cuq1h5$g7$1@www.eclipse.org...
Sergey,
A .dtd is not a .xsd and won't even parse as XML. You will need to find
the .xsd rather than the .dtd.
Ushakov, Sergey wrote:
>Hi,
>
>I suspect my problem is most likely a FAQ, but I still could not find an
>answer...
>
>I'm working on a schema that includes the HTML 4.01 DTD.
>
>If I indicate 'http://www.w3.org/TR/html4/strict.dtd' as 'Schema location'
>for the <import> directive, I get the following error:
> http://www.w3.org/TR/html4/strict.dtd is an invalid XML schema file
>
>If I make a local copy of this DTD and try to validate it, I get the
>following error:
> The declaration for the entity "ContentType" must end with '>'. ...
line
>81 ...
>And line 81 contains a comment inside !ENTITY declaration.
>
>I have added Xerces 2.6.2 to my configuration as prescribed by page
> http://www.eclipse.org/webtools/wst/components/xml/xercesInf o.xml
>
>I have Eclipse 3.1.0 Build id: 200412162000 on Windows.
>My JVM: 1.5.0_01
>My XSD: Version: 2.1.0 Build id: 200502100800
>My EMF: Version: 2.1.0 Build id: 200502100800
>
>Any ideas?
>
>Thanks,
>Sergey
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04645 seconds