HTML 4.01 DTD validation problem [message #57620] |
Mon, 14 February 2005 08:07 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33196 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 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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.04190 seconds