[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
> 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>α</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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|