ISSUE-89: block/final attributes on global elements

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ISSUE-89: block/final attributes on global elements

SWD Issue Tracker


ISSUE-89: block/final attributes on global elements

http://www.w3.org/2005/06/tracker/databinding/issues/89

Raised by: Jonathan Calladine
On product: Basic

Proposed Basic Pattern:

  <xs:element name="foo" final="#all" block="#all"/>

following on from previous issues in this area I think the above stand a good
chance for inclusion in the basic patterns as they restrict the advanced
patterns exploiting substitition groups and at worst will just be ignored by
processors.

Question is do we extend this to the other valid values e.g.

block="restriction extension substitution"
final="restriction extension"

patterns:

  ./xs:element[@block='#all']/(@block)
  ./xs:element[@final='#all']/(@final)

local elements can also be blocked this way

  .//xs:element[@block='#all']/(@block)






Reply | Threaded
Open this post in threaded view
|

RE: ISSUE-89: block/final attributes on global elements

paul.downey

I guess I'd have to ask why not for complexType as well?


-----Original Message-----
From: [hidden email] on behalf of Databinding Issue Tracker
Sent: Mon 11/6/2006 5:40 PM
To: [hidden email]
Subject: ISSUE-89: block/final attributes on global elements
 


ISSUE-89: block/final attributes on global elements

http://www.w3.org/2005/06/tracker/databinding/issues/89

Raised by: Jonathan Calladine
On product: Basic

Proposed Basic Pattern:

  <xs:element name="foo" final="#all" block="#all"/>

following on from previous issues in this area I think the above stand a good
chance for inclusion in the basic patterns as they restrict the advanced
patterns exploiting substitition groups and at worst will just be ignored by
processors.

Question is do we extend this to the other valid values e.g.

block="restriction extension substitution"
final="restriction extension"

patterns:

  ./xs:element[@block='#all']/(@block)
  ./xs:element[@final='#all']/(@final)

local elements can also be blocked this way

  .//xs:element[@block='#all']/(@block)








Reply | Threaded
Open this post in threaded view
|

RE: ISSUE-89: block/final attributes on global elements

jon.calladine

we have an abstract complexType currently in basic patterns but not for
final/blocked. I shall rectify the situation forthwith

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: 06 November 2006 18:09
To: [hidden email]; [hidden email]
Subject: RE: ISSUE-89: block/final attributes on global elements


I guess I'd have to ask why not for complexType as well?


-----Original Message-----
From: [hidden email] on behalf of Databinding
Issue Tracker
Sent: Mon 11/6/2006 5:40 PM
To: [hidden email]
Subject: ISSUE-89: block/final attributes on global elements
 


ISSUE-89: block/final attributes on global elements

http://www.w3.org/2005/06/tracker/databinding/issues/89

Raised by: Jonathan Calladine
On product: Basic

Proposed Basic Pattern:

  <xs:element name="foo" final="#all" block="#all"/>

following on from previous issues in this area I think the above stand a
good chance for inclusion in the basic patterns as they restrict the
advanced patterns exploiting substitition groups and at worst will just
be ignored by processors.

Question is do we extend this to the other valid values e.g.

block="restriction extension substitution"
final="restriction extension"

patterns:

  ./xs:element[@block='#all']/(@block)
  ./xs:element[@final='#all']/(@final)

local elements can also be blocked this way

  .//xs:element[@block='#all']/(@block)