XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Re: XSLT 3.0 Relax NG Schema

Thank you very much for the RelaxNG schema for XSLT 3.0. It allowed us to improve our own XMLSchema for XSLT 3.0 that we use for XSLT 3.0 code completion.
Our schema is mostly based on W3C's working draft (http://www.w3.org/TR/xslt-30/), but your schema is more up-to-date.


I have a few questions/remarks:

(1) - In your schema, attribute "exclude-result-prefix" is of type "exclude.prefixes.datatype", except for elements "package" and "stylesheet" where it is of type "prefixes.datatype".
Is there a reason for this, or is it an error? The types are similar, but not the same: "exclude.prefixes.datatype" contains values "#all" and "#default", "prefixes.datatype" does not contain values:

  <define name="exclude.prefixes.datatype">
    <list>
      <choice>
        <value>#all</value>
        <zeroOrMore>
          <choice>
            <data type="NCName"/>
            <value>#default</value>
          </choice>
        </zeroOrMore>
      </choice>
    </list>
  </define>

  <define name="prefixes.datatype">
    <list>
      <zeroOrMore>
        <data type="token" datatypeLibrary=""/>
      </zeroOrMore>
    </list>
  </define>


(2) - In W3C's working draft some attributes have a default value, e.g., attribute "decimal-separator" of element "decimal-format" has default value ".".
Your schema does not contain any default values, is that for a reason?


(3) Where did you get these specs of XSLT 3.0? I always thought W3C's working drafts were the most up-to-date, apparently not.


P.S.:
For those of you who want to try XSLT 3.0, you can download XMLBlueprint from our website: http://www.xmlblueprint.com/download-xml-editor.htm.
You will need to install a Saxon 9 licence to work with XSLT 3.0, http://www.saxonica.com/license/license.xml.

- Gerben Abbink
  XMLBlueprint.com


Thank you,
- Gerben Abbink
  XMLBlueprint.com



On Wed, May 29, 2013 at 12:31 PM, mozer <xmlizer@gmail.com> wrote:
I updated those links with schema from the last iteration of the spec.

The only change is that initial-value is now mandatory in xsl:accumulator

2013/5/4 mozer <xmlizer@gmail.com>:
> Dear XSLT Fans,
>
> For people eager to start playing with bleeding edge XSLT 3.0
>
> Relax NG
> http://www.sharexml.com/x/get?k=NDGu7yBYGAUC
>
> Relax NG Compact
> http://www.sharexml.com/x/get?k=gfC5oPhTcGjx
>
> Best regards,
>
> Xmlizer

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS