OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Can't open xml document in IE 6.0


Hi chris,

I am trying to check the xml file is well-formed or not, that's why i  
opened the raw xml in IE. But I can't open the xml file in IE because colon 
":" found in Mathml tags.

The path which was mentioned in the file "Y:\Software\docbook\mathml2.dtd" 
is my local path. Actual Doctype declaration as follows:

<?xml version="1.0"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.5CR2//EN" 
"http://www.oasis-open.org/docbook/xml/4.5CR2/docbookx.dtd"; [
<!ENTITY % MATHML.prefixed "INCLUDE">
<!ENTITY % MATHML.prefix "mml">
<!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))">
<!ENTITY % inlineequation.content "(alt?, 
(graphic+|inlinemediaobject+|mml:math))">
<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN" 
"http://www.w3.org/TR/MathML2/dtd/mathml2.dtd";>
%mathml;
]>

Is this possible to open XML file in IE with Mathml tags.

Regards,
A. Sunder Raajan


>From: "Chris Chiasson" <chris@chiasson.name>
>To: "Sundaraj Arumugam" <sundaraj_a@hotmail.com>
>CC: docbook@lists.oasis-open.org
>Subject: Re: [docbook] Can't open xml document in IE 6.0
>Date: Thu, 15 Jun 2006 06:55:01 -0500
>
>Why are you serving raw DocBook XML to Internet Explorer? Also, why
>are you serving MathML to Internet Explorer? If we know what you are
>trying to do, we might be able to suggest what to do. Also, if you are
>intending to distribute the raw XML, it is unlikely that
>"Y:\Software\docbook\mathml2.dtd" will be a good DocBook DTD system
>URL for your audience. I recommend dropping DTDs and their associated
>markup altogether if you have an editor, a validator, and a processor
>that collectively support Relax NG.
>
>On 6/15/06, Sundaraj Arumugam <sundaraj_a@hotmail.com> wrote:
>>Hi,
>>
>>I have declared the following to support MathML in my xml document.
>>
>><?xml version="1.0"?>
>><!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.5CR2//EN"
>>"Y:\Software\docbook\docbookx.dtd" [
>><!ENTITY % MATHML.prefixed "INCLUDE">
>><!ENTITY % MATHML.prefix "mml">
>><!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))">
>><!ENTITY % inlineequation.content "(alt?,
>>(graphic+|inlinemediaobject+|mml:math))">
>><!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN"
>>"Y:\Software\docbook\mathml2.dtd">
>>%mathml;
>>] >
>>
>>But I can't open my xml document in Internet Explorer 6.0, it shows the
>>following error:
>>
>>"Reference to undeclared namespace prefix: 'mml'. Error processing 
>>resource
>>'file:///C:/sundar/test/sample.xml'. Line 15, P...
>>
>><equation id="ch001eq01"
>>label="1.1"><mml:math><mml:semantics><mml:mrow><mml:msub><mml:mi m..."
>>
>>Could any one help me out o solve the above one. Herewith I have attached 
>>my
>>sample xml file
>>
>>-Sunder Raajan
>>
>>_________________________________________________________________
>>Best IT jobs on naukri.com
>>http://www.naukri.com/tieups/tieups.php?othersrcp=3246
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
>>For additional commands, e-mail: docbook-help@lists.oasis-open.org
>>
>>
>>
>
>
>--
>http://chris.chiasson.name/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
>For additional commands, e-mail: docbook-help@lists.oasis-open.org
>

_________________________________________________________________
How good are you in a Formula One car? Play now 
http://server1.msn.co.in/sp05/tataracing/onlinegame.asp



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]