George
Is there a better way to include MathML in Docbook equations that will validate 
in oXygen? It works well under SAXON 6.5.5 & FOP 0.94 from the command line but 
it won't vaildate with Oxygen 9 (or 8.2).
 
BTW: the new oXygen version is a resounding success here at work.
 
Dean

________________________________

From: George Cristian Bina [mailto:[EMAIL PROTECTED]
Sent: Tue 11/6/2007 7:23 AM
To: Nelson, Dean
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [docbook-apps] Imagedata and XInclude



Dear Dean,

Place the caret on imagedata
Contextual menu (right click on Windows, CTRL+click on Mac)
Select the last entry: Show Definition

should get you to

<!--doc:Pointer to external image data.
This element points to an external entity containing graphical image
data.-->
<!ELEMENT imagedata %ho; EMPTY>

The ho parameter entity is defined as

<!ENTITY % ho "">

So, the content of imagedata is empty as in nothing.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com <http://www.oxygenxml.com/> 


Nelson, Dean wrote:
> OK - does "empty" mean that there should be another wrapper that wraps the 
> MathML code?
> 
> I am assuming that "empty" does not mean "nothing", as that would be 
> senseless?
> 
>
> ________________________________
>
> From: Dave Pawson [mailto:[EMAIL PROTECTED]
> Sent: Tue 11/6/2007 1:53 AM
> To: Nelson, Dean
> Cc: [email protected]
> Subject: Re: [docbook-apps] Imagedata and XInclude
>
>
>
> Nelson, Dean wrote:
>> Greetings!
>> I am puzzled by the benign error that I get in validating XIncluded
>> content with Oxygen. Here is the section of code:
>>
>> <equation ><title>Here is a nice equation</title>
>> <mediaobject>
>> <imageobject>
>> <imagedata align="center">
>> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
>> href="EEC-Math-template.xml"/>
>> </imagedata>
>> </imageobject>
>> </mediaobject>
>> </equation>
>>
>> and I get the following error in validation:
>>
>> SystemID: C:\doc\userman\xml\EEC-Section-Template.xml
>> Location: 300:12
>> Description: The content of element type "imagedata" must match "EMPTY".
>
> Take a look at the schema.
> The imagedata element *must* be empty.
>
> regards
>
>
>
>
> --
> Dave Pawson
> XSLT, XSL-FO and Docbook FAQ
> http://www.dpawson.co.uk <http://www.dpawson.co.uk/>  
> <http://www.dpawson.co.uk/>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to