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

Re: XForms

  • From: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
  • To: Timothy Cook <timothywayne.cook@gmail.com>
  • Date: Tue, 4 Sep 2012 10:57:42 -0600

Re:  XForms

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.

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************





  • References:
    • XForms
      • From: Timothy Cook <timothywayne.cook@gmail.com>

[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.