Subject: Re: [xsl] XSD default attributes not working with doc()? From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 7 Jun 2019 23:15:59 -0000 |
Default values from the schema will only be expanded if validation takes place. You can do validation without attribute expansion, but you can't do attribute expansion without validation. Michael Kay Saxonica > On 7 Jun 2019, at 21:56, Graydon graydon@xxxxxxxxx <mailto:graydon@xxxxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote: > > On Fri, Jun 07, 2019 at 08:06:43PM -0000, Martin Honnen martin.honnen@xxxxxx <mailto:martin.honnen@xxxxxx> scripsit: >> On 07.06.2019 21:56, Graydon graydon@xxxxxxxxx <mailto:graydon@xxxxxxxxx> wrote: > [XSD default attribute values not being picked up by the document parse > from doc()] >>> I'm surprised by this; the DTD and RNG versions pick up the default >>> attributes. >>> >>> Anyone got any idea what might be going on? >> >> Can you try to run that outside of oXygen with standalone Saxon EE? > > Alas, no. No standalone license. > >> Is the oXygen option in the Saxon EE transformation scenario for lax or >> strict validation enabled? > > It is not; validation is disabled. (XSD and DTD) > > "Expand attribute defaults", -expand, is checked in the oXygen > transformation scenario. > > Thanks! > Graydon
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSD default attributes no, Graydon graydon@xxxx | Thread | Re: [xsl] XSD default attributes no, Graydon graydon@xxxx |
Re: [xsl] XSD default attributes no, Graydon graydon@xxxx | Date | Re: [xsl] XSD default attributes no, Graydon graydon@xxxx |
Month |