I recently installed the Xindice xml database to explore the feasibility
of using it plus openoffice as the basis for an engineering document
management system. Xindice uses Xerces 1.4.3 for validation services.

For some reason xerces is barfing with:
    ERROR : A '(' character or an element type is required in the
    declaration of element type "draw:text-box".
    ERROR : null
whenever I add a document to the collection tree. It appears to not like
this section from the openoffice drawing dtd
    <!-- text boxes -->
    <!ELEMENT draw:text-box
    (office:events?,draw:image-map?,%sectionText;)>
    <!ATTLIST draw:text-box %draw-style-name;>
    <!ATTLIST draw:text-box %draw-transform; >
    <!ATTLIST draw:text-box draw:name %string; #IMPLIED>
    <!ATTLIST draw:text-box draw:chain-next-name %string; #IMPLIED>
    <!ATTLIST draw:text-box %text-anchor;>
    <!ATTLIST draw:text-box %draw-position;>
    <!ATTLIST draw:text-box %draw-end-position; >
    <!ATTLIST draw:text-box %table-background; >
    <!ATTLIST draw:text-box svg:width %lengthOrPercentage; #IMPLIED>
    <!ATTLIST draw:text-box svg:height %lengthOrPercentage; #IMPLIED>
    <!ATTLIST draw:text-box style:rel-width %percentage; #IMPLIED>
    <!ATTLIST draw:text-box style:rel-height %percentage; #IMPLIED>
    <!ATTLIST draw:text-box fo:min-height %lengthOrPercentage; #IMPLIED>
    <!ATTLIST draw:text-box %zindex;>
    <!ATTLIST draw:text-box %presentation-class; >
    <!ATTLIST draw:text-box %draw-transform; >
    <!ATTLIST draw:text-box draw:id %draw-shape-id;>
    <!ATTLIST draw:text-box draw:layer %layerName; #IMPLIED>
    <!ATTLIST draw:text-box draw:corner-radius %nonNegativeLength;
    #IMPLIED>

which looks kosher to me (and expat). I found a recent reference to a
similar bug here:
http://lists.w3.org/Archives/Public/www-html-editor/2002JulSep/0040.html

with this reply from
w3c:(http://lists.w3.org/Archives/Public/www-html-editor/2002JulSep/0041.html)

    Date: Fri, 02 Aug 2002 04:00:11 +0900 (JST)
    Message-Id: <[EMAIL PROTECTED]>
    From: Masayasu Ishikawa <[EMAIL PROTECTED]>
    To: [EMAIL PROTECTED]
    Cc: [EMAIL PROTECTED]
    Subject: Re: processing errors with the new DTD's
    
    Hello,
    
    tom zito <[EMAIL PROTECTED]> wrote:
    
    > We run a site using a cocoon framework to publish xml and xhtml 
    > documents.  The site is help.unc.edu  
    > The documents are published as XHTML fragments including the
    Doctype 
    > declaration.  When the documents are processed by cocoon we get
    the 
    > following error:
        <snip/>
    > There apparently is a bug in the new DTD's.  
    
    Thank you very much for your quick report, it's got fixed now.
    
    Regards,
    -- 
    Masayasu Ishikawa / [EMAIL PROTECTED]
    W3C - World Wide Web Consortium


I'm confused. What has "got fixed now"? How do I get "the fix". Is this
a xerces probelem, a w3c problem or an openoffice problem? Any ideas?

Thanks,
Jeff

-- 
=======================================
Jeff Patterson
Co-founder and Site Administrator
The Melanoma Patients' Information Page
http://www.mpip.org

email:[EMAIL PROTECTED]


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

Reply via email to