[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Re: XSLT 3.0 Relax NG Schema
- From: mozer <xmlizer@gmail.com>
- To: Gerben Abbink <gerben.abbink@gmail.com>
- Date: Mon, 24 Jun 2013 17:56:20 +0200
Thanks for the feedback
2013/6/7 Gerben Abbink <gerben.abbink@gmail.com>:
> 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>
For no particular reason. The Schema is generated through a XSLT
stylesheet from the XML version of XSLT 3.0 specification.
That explains some discrepancies.
I should go deeper to explain you why for this particular occurrence.
>
>
> (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?
Well, first reason is that Relax NG doesn't support default values.
But there is a specific extension that could deal with that.
The second point is that in the XML Specification there is no mention
of default values.
>
>
> (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.
As a W3C member, I have access to the *current* working draft. That's
why it's is really up-to-date.
You should contact Liam if you would like to join the W3C or the XSLT WG.
>
>
> 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.
Thanks for the pointer !
Xmlizer
>
> - 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]