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] Tell me agian why I need mml:?


On Sunday 06 November 2005 04:15 pm, Jirka Kosek wrote:
> Steven T. Hatton wrote:
> > The problem is with MathML, the namespace stuff becomes a big issue.  I
> > don't believe RELAX NG solves that unless the XSLT processor can work
> > with something other than DTDs.
>
> XSLT (1.0) processor is completely uninterested in schema language used.

How does it resolve entity references?  I'm having some trouble with that 
related to some of the MathML2 entity references.  I created this catalog and 
set my XML_CATALOG_FILES to point to it.  Some things, such as nXML are 
finding it ok, but the entity references aren't being resolved. When I run 
xsltproc on the XML.

<?xml version='1.0'?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
  <system systemId="http://www.docbook.org/xml/5.0b1/dtd/docbook.dtd";
	  uri="opt/org/docbook/docbook-5.0b1/dtd/docbook.dtd"/>
  <public publicId="-//OASIS//DTD DocBook XML V5.0b1//EN"
	  uri="opt/org/docbook/docbook-5.0b1/dtd/docbook.dtd"/>
  <public publicId="-//OASIS//DTD DocBook XML V4.5CR1//EN"
	  uri="opt/org/docbook/xml/4.5CR1/docbookx.dtd"/>
  <public publicId="-//W3C//DTD MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/mathml2.dtd"/>
  <nextCatalog catalog = "/etc/xml/catalog"/>
  <!-- MathML2 Character 
Entities .............................................. -->

  <!-- Entity sets from ISO Technical Report 9573-13 ..... -->
  <public publicId="-//W3C//DTD MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/mathml2.dtd"/>
  <system systemId="http://www.w3.org/Math/DTD/mathml2/mathml2.dtd";
	  uri="opt/org/w3c/mathml2/mathml2.dtd"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Arrow Relations for 
MathML 2.0//EN"
	  uri="org/w3c/mathml/mathml2/iso9573-13/isoamsa.ent"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Binary Operators for 
MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isoamsb.ent"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Delimiters for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isoamsc.ent"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Negated Relations for 
MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isoamsn.ent"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Ordinary for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isoamso.ent"/>
  <public publicId="-//W3C//ENTITIES Added Math Symbols: Relations for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isoamsr.ent"/>
  <public publicId="-//W3C//ENTITIES Greek Symbols for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isogrk3.ent"/>
  <public publicId="-//W3C//ENTITIES Math Alphabets: Fraktur for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isomfrk.ent"/>
  <public publicId="-//W3C//ENTITIES Math Alphabets: Open Face for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isomopf.ent"/>
  <public publicId="-//W3C//ENTITIES Math Alphabets: Script for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isomscr.ent"/>
  <public publicId="-//W3C//ENTITIES General Technical for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso9573-13/isotech.ent"/>
  <!-- Entity sets from informative annex to ISO 8879:1986 (SGML) ....... -->
  <public publicId="-//W3C//ENTITIES Box and Line Drawing for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isobox.ent"/>
  <public publicId="-//W3C//ENTITIES Russian Cyrillic for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isocyr1.ent"/>
  <public publicId="-//W3C//ENTITIES Non-Russian Cyrillic for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isocyr2.ent"/>
  <public publicId="-//W3C//ENTITIES Diacritical Marks for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isodia.ent"/>
  <public publicId="-//W3C//ENTITIES Added Latin 1 for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isolat1.ent"/>
  <public publicId="-//W3C//ENTITIES Added Latin 2 for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isolat2.ent"/>
  <public publicId="-//W3C//ENTITIES Numeric and Special Graphic for MathML 
2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isonum.ent"/>
  <public publicId="-//W3C//ENTITIES Publishing for MathML 2.0//EN"
	  uri="opt/org/w3c/mathml2/iso8879/isopub.ent"/>
  <!-- New characters defined by MathML ............................ -->
  <public publicId="-//W3C//ENTITIES Extra for MathML 2.0//EN"
	  uri="org/w3c/mathml/mathml2/mathml/mmlextra.ent"/>
  <!-- MathML aliases for characters defined above ................. -->
  <public publicId="-//W3C//ENTITIES Aliases for MathML 2.0//EN"
	  uri="org/w3c/mathml/mathml2/mathml/mmlalias.ent"/>
  <!-- end of MathML2 Character Entity section -->
</catalog>


> > What's the deal with not having MathML in DocBook V5?
>
> Probably nobody have time to implement it yet?
>
>  > If that isn't
> >
> > available, I have very little use for DocBook in terms of authoring
> > mathematical text.
>
> Actually it is very easy to extend DocBook 5.0 with MathML. Just grab
> MathML schema from
>
> http://yupotan.sppd.ne.jp/relax-ng/mml2.html
>
> And then create following simple DocBook 5.0 + MathML schema:
>
> <grammar xmlns="http://relaxng.org/ns/structure/1.0";>

Thanks.  I'll have a look at it.  I have a different mathml2.rnc from 
https://svn.mathweb.org/repos/mathweb.org/trunk/omdoc/rnc/ I'm not sure how 
they will compare.  I like the idea that the one you pointed to is 
modularized.  I'm not sure what to make of the comments I read regarding 
changing the case-sensitivity on some elements.  I haven't studied it 
closely, but I got the sense there were some changes made which diverge from 
the formal w3c recommendation.  That seems like a bad idea.

Steven


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