Hussein Shafie wrote:

> This is a bit severe. This more or less implies that XXE does not
> support RELAX NG at all!

Do not be so so demanding on you. DocBook RELEX NG schema is really 
complex and uses RELAX NG power to the maximum. Majority of RELAX NG 
schemas are not using features like co-constraints.

> XXE has limitations which makes it uncomfortable using some RELAX NG
> schemas but despite these limitations (which are fully described in
> http://www.xmlmind.com/xmleditor/_distrib/doc/rngsupport/index.html),
> XXE should allow to comfortably edit the vast majority of the documents
> conforming a RELAX NG schema.

I know this document, I read it twice before I submitted my post. And I 
was able to fix some issues on schema level.

> (I'm using XXE V3.2 and DocBook V5b5.)
> 
> Therefore suffice for the user not to choose <title>+<info>' (who needs
> <title>+<info> anyway when the first kind of <info> can contain a <title>?).

Legacy, legacy, legacy...
I noticed this behavior on existing documents, not on newly created.

> XXE already detects this case for class=startofrange and
> class=endofrange, but not for db.indexterm.singular (???).
> 
> In the latter case, I think this is a bug because "Show Content Model"
> (Shift-F1) says that there should be no problem with any of the
> <indexterm>s (all kinds of <indexterm>s are displayed with a yellow
> background).
> 
> We'll try to fix this bug ASAP.

Thanks.

> The lenient mode is *already* uncommon for most schemas. But thank you
> to take the time to report these problems because this is the only way
> to improve the support of RELAX NG Schemas in XXE.

BTW, any plans to support embedded Schematron rules for validation? 
DocBook V5 uses them to specify some additional constraints which are 
hard or impossible to define in RELAX NG. I have also RELAX NG + 
Schematron schema for XHTML which is able to catch much more XHTML 
specification violations that W3C validator (see http://relaxed.vse.cz). 
It would be really nice feature to have.

Thanks,

                        Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka at kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesion?ln? ?kolen? a poradenstv? v oblasti technologi? XML.
      Pod?vejte se na n?? nov? spu?t?n? web http://DocBook.cz
        Podrobn? p?ehled ?kolen? http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbli??? term?ny ?kolen?:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML sch?mata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3225 bytes
Desc: S/MIME Cryptographic Signature
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060602/486a20db/attachment.bin
 

Reply via email to