Next in thread →
Next in month →
Re: [xml-dev] XForms
Le 04/09/2012 18:57, C. M. Sperberg-McQueen a écrit : > On Sep 1, 2012, at 2:15 PM, Timothy Cook wrote: > >> Hi All, >> >> I am not certain that I understand the specs on the issue of >> referencing a schema. >> >> http://www.w3.org/TR/xforms11/#structure-model >> "Within each XForms Model, there is a limit of one Schema per >> namespace declaration, including inline and linked Schemas." >> >> Since neither inline nor linked are actually methods of incorporating >> a schema ('import' or 'include'). Does this mean that I cannot use a >> schema that has an include? > Actually, for XForms, 'inline' and 'linked' are precisely the two ways > of incorporating schemas: the xforms:model element can hyperlink > to schema documents using the 'schema' attribute: > > <xf:model schema="http://example.com/foo/foo.xsd ..."> ... > > and it can contain inline schema documents: > > <xf:model> > ... > <xs:schema targetNamespace="http://example.com/foo/foo.xsd"> > ... > </xs:schema> > ... > </xf:model> > > I take these to be what the spec is referring to when it speaks > of schemas (or schema documents) being inline or linked. > > Note, however, that XForms processors vary a bit in how fully they > support XSD. > As confirmed by the XForms Work Group, the XForms Specifications allow schemas that have includes.
Next in thread →
Next in month →