[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: correct behaviour for entities as system identifiers
- From: Rob Lugt <roblugt@elcel.com>
- To: Patrick Ohl <Patrick.Ohl@o-h-l.de>,Warren Hedley <w.hedley@auckland.ac.nz>, xml-dev@lists.xml.org
- Date: Fri, 27 Jul 2001 13:03:36 +0100
Patrick Ohl wrote
>
>
> 3.: I had problems with overriding it. I am quite sure that it is
> correct, if my prolog is something like:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE model SYSTEM "http://www.cellml.org/cellml/cellml_1_0.dtd"
> [
> <!ENTITY % mathml_dtd_path
> "'http://www.w3.org/TR/MathML2/dtd/mathml2.dtd'">
> <!ENTITY % use_mathml_dtd "INCLUDE">
> ]>
>
> My IDE still mocks about an none defined 'math' element. Probably the
> IDEs fault or did I misunderstood something?
>
It would appear that your IDE is at fault. Can I suggest you try the XML
Validator [1] from ElCel Technology. Using your prolog (above) the XML
Validator confirms that the document is valid. The CellML dtd does make
heavy use of parameter entities and, in my experience, this is an area where
non-conformant parsers tend to triip up most badly.
Regards
~Rob
--
Rob Lugt
ElCel Technology
http://www.elcel.com/
[1] http://www.elcel.com/products/xmlvalid.html