W3C home > Mailing lists > Public > www-math@w3.org > October 2005

Problems using Mathml in an Oracle database

From: Robert Honeyman <r.honeyman@inpharmatica.co.uk>
Date: Wed, 12 Oct 2005 14:58:14 +0100
To: <www-math@w3.org>
Message-ID: <001201c5cf34$fd5321e0$650ba8c0@windows.inpharmatica.co.uk>

I am trying to load in the mathml2 schema definitions into an Oracle
database to satisfy a dependency on mathml held by my desired schema.

I have successfully loaded the hierarchy of XML Schema definition documents
for the current 'mathml' by adjusting the relative paths in all include and
import statements, and by forcing the load into the database to overcome
rejection due to cyclic dependency issues. (Oracle does not handle relative
path names within XML documents due to the way it stores URLs which is
relative only to the schema document owner.)

However when I try to create a table using the XMLTYPE or register another
schema which is dependent on mathml I receive the following error:

ERROR at line 1:
ORA-31079: unable to resolve reference to group "Content-expr.class"
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 61
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 126
ORA-06512: at line 14

Having tried loading into both 9iR2 and 10GR2 databases and pasting the
document containing the 'Content-expr.class' into the parent document (i.e.
removing the include) I am stumped.

Being new to XML I do not know what ths issue is as the file containing the
definition (math.xsd) is included well before the references in the parent
document (mathxml2.xsd). I can see there are cyclic dependencies for
Content-expr.class and Presentation-expr.class, however I assume that these
are resolved by aggregation in the parent document.

I am also unable to trace which reference is causing the problem as there
are several in the mathml specification.

Does anyone have any suggestions as to what could be causing this issue, or
how I can obtain further diagnostics?

Any help much appreciated.

Robert Honeyman 

Robert Honeyman
Senior Database Administrator
Inpharmatica Ltd.

E-mail: r.honeyman@inpharmatica.co.uk 
Received on Thursday, 13 October 2005 05:08:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:36 UTC