OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

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


Subject: RE: [dita] Groups - DITA 1.1 XSDs (dita1.1_refact_g_urn.zip) uploaded


Hi Paul,

I just caught late last week.  It will be part of the errata for 1.1.  I
will be submitting a patch shortly.

The quick fix is to comment out

<xs:include
schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1"/>

Eric
Eric A. Sirois
Staff Software Developer
DB2 Universal Database - Information Development
DITA Migration and Tools Development
IBM Canada Ltd. - Toronto Software Lab
Email: esirois@ca.ibm.com
Blue Pages (Internal)

"Transparency and accessibility requirements dictate that public
information and government
transactions avoid depending on technologies that imply or impose a
specific product or
platform on businesses or citizens" - EU on XML-based office document
formats.


                                                                           
             "Grosso, Paul"                                                
             <pgrosso@ptc.com>                                             
                                                                        To 
             08/27/2007 10:16          Eric Sirois/Toronto/IBM@IBMCA,      
             AM                        <dita@lists.oasis-open.org>         
                                                                        cc 
                                                                           
                                                                   Subject 
                                       RE: [dita] Groups - DITA 1.1 XSDs   
                                       (dita1.1_refact_g_urn.zip) uploaded 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Actually, I think this might have introduced a bug that
still exists in the DITA 1.1 XSDs.  Sorry that we didn't
catch it until now.

In the glossary.xsd in the final DITA 1.1 XSDs, line 40 is:

    <xs:include
schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1"/>

but line 49 is:

    <xs:redefine
schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1">

When I try to parse using this file, I'm told the redefine is
illegal because of the previous include.

Eric, I think we've had problems like this before because
the schema processor you use doesn't give the appropriate
error message for this situation (or am I thinking of
another sort of error?).  I think we need to test our XSDs
using more than one schema processor in the future.

What is the appropriate correction in this case?

paul


> -----Original Message-----
> From: esirois@ca.ibm.com [mailto:esirois@ca.ibm.com]
> Sent: Thursday, 2007 May 24 12:10
> To: dita@lists.oasis-open.org
> Subject: [dita] Groups - DITA 1.1 XSDs
> (dita1.1_refact_g_urn.zip) uploaded
>
> This version fixes a bug in the glossary schema, where it
> does include the
> domains, but does not override the groups so that the domain
> element are
> accessible during the creation of a glossary topic.
>
>
> The fix is to include the following in the glossary.xsd.  I
> hope this will be displayed properly in the email.
>
> <xs:redefine
> schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1">
>         <xs:group name="keyword">
>             <xs:choice>
>                 <xs:group ref="keyword"/>
>                 <xs:group ref="pr-d-keyword" />
>                 <xs:group ref="ui-d-keyword" />
>                 <xs:group ref="sw-d-keyword" />
>             </xs:choice>
>         </xs:group>
>
>         <xs:group name="ph">
>             <xs:choice>
>                 <xs:group ref="ph"/>
>                 <xs:group ref="pr-d-ph" />
>                 <xs:group ref="ui-d-ph" />
>                 <xs:group ref="hi-d-ph" />
>                 <xs:group ref="sw-d-ph" />
>             </xs:choice>
>         </xs:group>
>
>         <xs:group name="pre">
>             <xs:choice>
>                 <xs:group ref="pre"/>
>                 <xs:group ref="pr-d-pre" />
>                 <xs:group ref="ui-d-pre" />
>                 <xs:group ref="sw-d-pre" />
>             </xs:choice>
>         </xs:group>
>
>
>         <xs:group name="dl">
>             <xs:choice>
>                 <xs:group ref="dl"/>
>                 <xs:group ref="pr-d-dl"/>
>             </xs:choice >
>         </xs:group >
>
>
>         <xs:group name="fig">
>             <xs:choice>
>                 <xs:group ref="fig"/>
>                 <xs:group ref="pr-d-fig"/>
>                 <xs:group ref="ut-d-fig" />
>             </xs:choice>
>         </xs:group >
>
>         <xs:group name="index-base">
>             <xs:choice>
>                 <xs:group ref="index-base"/>
>                 <xs:group ref="indexing-d-index-base"/>
>             </xs:choice>
>         </xs:group >
>
>     </xs:redefine>
>
> Kind regards,
> Eric
>
>  -- Mr Eric Sirois
>
> The document revision named DITA 1.1 XSDs
> (dita1.1_refact_g_urn.zip) has
> been submitted by Mr Eric Sirois to the OASIS Darwin
> Information Typing
> Architecture (DITA) TC document repository.  This document is
> revision #15
> of dita_xsd_1.1.zip.
>
> Document Description:
> The implementation of the DITA 1.1 XML Schemas using URNs as
> an identifier
> in  the XML catalogs.
>
> View Document Details:
> http://www.oasis-open.org/apps/org/workgroup/dita/document.php
> ?document_id=24107
>
> Download Document:
> http://www.oasis-open.org/apps/org/workgroup/dita/download.php
> /24107/dita1.1_refact_g_urn.zip
>
> Revision:
> This document is revision #15 of dita_xsd_1.1.zip.  The
> document details
> page referenced above will show the complete revision history.
>
>
> PLEASE NOTE:  If the above links do not work for you, your
> email application
> may be breaking the link into two pieces.  You may be able to
> copy and paste
> the entire link address into the address field of your web browser.
>
> -OASIS Open Administration
>




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