Re: Importing MathML

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 UTC