[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: XSLT 3.0 Relax NG Schema

  • From: Gerben Abbink <gerben.abbink@gmail.com>
  • To: XML-Dev Mailing list <xml-dev@lists.xml.org>
  • Date: Fri, 7 Jun 2013 13:43:18 +0200

Re:  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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.