[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Parameter entity must be defined before it is used

Subject: RE: Parameter entity must be defined before it is used
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 6 May 2004 09:38:43 +0100
html entity mathml
> So the input could be something like:
> -----------------------------------------------------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
> "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" 
> [<!ENTITY mathml 
> "http://www.w3.org/1998/Math/MathML">]>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>    <title>test-1</title>
> </head>
> 
> <body>
>      <h1>Forside</h1>
> bla bla
> <math xmlns="http://www.w3.org/1998/Math/MathML">
>    <mrow>
>      <msqrt>
>        <mrow>
>          <mi>&#945;</mi>
>        </mrow>
>      </msqrt>
>    </mrow>
> </math>
> </body>
>          </html>


Well afaict there is something wrong with the dtd - but its far too big
to dicpher :)

The xhtml will display in your browser because most likely it makes no
attempt to get the dtd (I don't know about Mozilla but IE certainly
doesn't use an xml parser for xhtml).  A good way to highlight this is
alter the system path for the dtd - it will still display in your
browser but the xml parser will throw an error that it can't find the
file specified.

Are you sure that the dtd really is an xml dtd?

cheers
andrew

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.