[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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 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:davep@dpawson.co.uk] > Sent: Tue 11/6/2007 1:53 AM > To: Nelson, Dean > Cc: docbook-apps@lists.oasis-open.org > 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/> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]