W3C home > Mailing lists > Public > www-math@w3.org > September 2003

Re: Importing MathML

From: Max Froumentin <mf@w3.org>
Date: Tue, 30 Sep 2003 16:29:42 +0200
To: "Morcom, Harvey" <Harvey.Morcom@KPMG.co.uk>
Cc: <www-math@w3.org>
Message-ID: <874qyue4dl.fsf@w3.org>

Hi Harvey,

Sorry it's taken me so long to look into your problem. I've tried to reproduce
your problem but it worked without a problem in Xerces-J 2.4.0

My schema was:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	   xmlns:mml="http://www.w3.org/1998/Math/MathML"
	   xmlns="http://www.maxf.org"
	   targetNamespace="http://www.maxf.org">

  <xs:import namespace="http://www.w3.org/1998/Math/MathML" 
    schemaLocation="http://www.w3.org/Math/XMLSchema/mathml2/mathml2.xsd"/>

  <xs:complexType name="twomml.type">
    <xs:sequence>
      <xs:element ref="mml:math"/>
      <xs:element ref="mml:math"/>
    </xs:sequence>
  </xs:complexType>

  <xs:element name="twomml" type="twomml.type"/>

</xs:schema>

and the instance:

<twomml xmlns:m="http://www.w3.org/1998/Math/MathML" 
	 xmlns="http://www.maxf.org"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	 xsi:schemaLocation="http://www.maxf.org schema1.xsd">
   <m:math><m:mi>i</m:mi></m:math>
   <m:math><m:mi>i</m:mi></m:math>
 </twomml>


I don't see a fundamental difference with what you did. Do you?

Max.
Received on Tuesday, 30 September 2003 10:29:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT