OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [relax-ng] Type-assignement requirements from Jonathan Robie



> > > The main requirement is to provide type annotations for every element
or
> > > attribute, perhaps in a separate process from validation.
>
> I think this is most simply provided with an attribute annotation,
xquery:type
> or the like, which is allowed on element and attribute patterns, and whose
> value is a QName.

Instead of building in a particular annotation attribute, couldn't an
implementation of type-assigment simply provide to the application, for each
instance attribute or element, all the annotations on the attribute or
element pattern in the schema that matched that instance attribute or
element?  One simple way to do this would be to provide the DOM element node
for the attribute or element pattern.

James




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC