Re: Still trying to validate an XML Schema

Florian Schmitt <[email protected]> Sun, 23 Jun 2024 20:22:25 +0200
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Aww - i've testeds with Firefox where changing the File type worked as 
described. But it seems you're using Edge or Chrome? Please try to 
rename the .html file to .xhtml. This worked for me using Edge.

Greetings,
Florian

Am 23.06.2024 um 19:19 schrieb Ted Hickox:
> I fixed the equals sign and now that code is error free.
> 
> I also attempted to make a couple of changes to my HTML code.  I tried 
> to add the following lines of code:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd 
> <http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>">
> <html xmlns="http://www.w3.org/1999/xhtml <http://www.w3.org/1999/xhtml>">
> 
> Then I saved my code just like you asked me to.  Finally I held down the 
> control button and pressed the letter r.  Everything refreshed as you 
> stated it should.  But the doctype code disappeared.  And once again I 
> got this when I ran the html code:
> 
> image.png
> 
> Why would I get this if my code now looks like this:
> 
> <html xmlns="http://www.w3.org/1999/xhtml 
> <http://www.w3.org/1999/xhtml>" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> <http://www.w3.org/2001/XMLSchema-instance>" 
> xsi:schemaLocation="http://www.TedTheSpeedlearner.com 
> <http://www.TedTheSpeedlearner.com> SVG_Ellipse_Webpage_XML_Schema.xsd">
>      <head>
>          <title>SVG Ellipse</title>
>          <link rel="stylesheet" type="text/css" 
> href="http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css <http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css>"/>
>          <script language="javascript" 
> src="http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js <http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js>"/>
>      </head>
>      <body onload="Setup()">
>          <svg id="Image_Box">
>              <ellipse id="My_Ellipse"/>
>          </svg>
>      </body>
> </html>
> 


_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open