[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. - Gerben AbbinkOur 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. 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. [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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|