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

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

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


Subject: Re: [office] Conformance Clauses and NVDL


Michael Brauer - Sun Germany - ham02 - Hamburg wrote:

> I have uploaded a first NVDL script here:
> 
> http://www.oasis-open.org/committees/download.php/29455/odf.nvdl
> 
> It probably requires some more work, but it shows already what
> using NVDL would look like.
...
> One last remark: NVDL is new to me. So, any support with further
> developing the script is welcome.

Hi Michael,

I haven't had enough time to study your NVDL script and conformance
proposal in detail. But I think that moving to NVDL is right approach.

So far, I have noticed one problem in NVDL script. Instead of:

<namespace ns="http://www.w3.org/1998/Math/MathML";>
  <validate schema="../../specs/mathml2/mathml2.xsd"/>
</namespace>

you should use

<namespace ns="http://www.w3.org/1998/Math/MathML";>
  <validate schema="../../specs/mathml2/mathml2.xsd"/>
  <attach/>
</namespace>

(and similar change for XForms)
This will validate MathML fragments against MathML schema, but at the
same time MathML fragment will stay in its place and will be validated
against ODF RELAX NG schema which defines where MathML fragments can
appear. Without <attach/> NVDL script will allow MathML fragment to be
anywhere.

In NVDL you can also very easily define that foreign elements/attributes
are allowed everywhere. This is something which should be really defined
on schema level, rather only in prose (which is the current state of
affair in ODF spec).

You can find some more discussion about using NVDL for ODF validation here:

http://lists.dsdl.org/dsdl-comment/2008-06/0005.html


			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



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