SLEE 1.1 ignore-ra-type-event-type-check element missing

View: New views
4 Messages — Rating Filter:   Alert me  

SLEE 1.1 ignore-ra-type-event-type-check element missing

by Alexandre Mendonça :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,

Just to let you know that while implementing JAIN SLEE 1.1, I have noticed that the "ignore-ra-type-event-type-check" element for the RA Type, present in the Final Release of the specification (p424), is missing in the DTD.
Please let me know if there's anything I can do in order for it to be fixed.

As a curiosity, are there any XSDs for SLEE 1.1 available? If not, why have you chosen to use DTDs instead?

Thanks & Best Regards,
Alexandre Mendonça
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the JAIN website at http://java.sun.com/products/jain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: SLEE 1.1 ignore-ra-type-event-type-check element missing

by Steven Adams-3 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Alexandre,

"ignore-ra-type-event-type-check" is an attribute of the
<resource-adaptor> element, not an element itself, and is present in the
DTD as follows:

<!ATTLIST resource-adaptor
             ignore-ra-type-event-type-check (True|False) "False"
             id ID #IMPLIED>

There are no official equivalent XSD schemas released as part of the
spec, only the DTDs.

Regards,
Steve


Alexandre Mendonça wrote:

> Hi all,
>
> Just to let you know that while implementing JAIN SLEE 1.1, I have
> noticed that the "ignore-ra-type-event-type-check" element for the RA
> Type, present in the Final Release of the specification (p424), is
> missing in the DTD.
> Please let me know if there's anything I can do in order for it to be fixed.
>
> As a curiosity, are there any XSDs for SLEE 1.1 available? If not, why
> have you chosen to use DTDs instead?
>
> Thanks & Best Regards,
> Alexandre Mendonça
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the
> JAIN website at http://java.sun.com/products/jain 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visit the JAIN website at http://java.sun.com/products/jain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: SLEE 1.1 ignore-ra-type-event-type-check element missing

by Alexandre Mendonça :: Rate this Message:

| View Threaded | Show Only this Message

Hi Steven,

Thanks for the answer. It makes more sense to be placed in the <resource-adaptor> element than in the <resource-adaptor-type>, for what it is supposed to.

So the DTD is correct and is the specification incorrect? Because from 15.3.2:

15.3.2  Resource adaptor type deployment descriptor
A resource adaptor type deployment descriptor contains a resource-adaptor-type element. This
element contains the following attributes and sub-elements:
  • An ignore-ra-type-event-type-check attribute.
    This attribute determines if the SLEE will limit the event types accessible to the resource adaptor
    to those referenced by the resource adaptor types implemented by the resource adaptor (see Sec-
    tion 15.10). The default value of this attribute if not specified is "False".

One of them is incoherent with the other.

Something else I've noticed was something not clear regarding the <resource-adaptor-class> element, defined in 15.4.2:

15.4.2  Resource adaptor deployment descriptor
Each Resource Adaptor is declared by a Resource Adaptor deployment descriptor. Each Resource Adaptor
deployment descriptor contains a resource-adaptor element. This element contains the following
sub-elements:
(...)
  • A resource-adaptor-class element.
    This element contains sub-elements that identify the class that implements this Resource Adaptor.
(...)

But from example shown later in the spec and from DTD:

<!ELEMENT resource-adaptor (description?, resource-adaptor-name,
          resource-adaptor-vendor, resource-adaptor-version,
          resource-adaptor-type-ref+, library-ref*, profile-spec-ref*,
          resource-adaptor-classes, config-property*)>

seems the correct element name should be resource-adaptor-classes instead of resource-adaptor-class. Correct?

Best Regards,
Alexandre Mendonça


On Thu, Jan 22, 2009 at 20:30, Steven Adams <steven.adams@...> wrote:
Hi Alexandre,

"ignore-ra-type-event-type-check" is an attribute of the <resource-adaptor> element, not an element itself, and is present in the DTD as follows:

<!ATTLIST resource-adaptor
           ignore-ra-type-event-type-check (True|False) "False"
           id ID #IMPLIED>

There are no official equivalent XSD schemas released as part of the spec, only the DTDs.

Regards,
Steve


Alexandre Mendonça wrote:
Hi all,

Just to let you know that while implementing JAIN SLEE 1.1, I have noticed that the "ignore-ra-type-event-type-check" element for the RA Type, present in the Final Release of the specification (p424), is missing in the DTD.
Please let me know if there's anything I can do in order for it to be fixed.

As a curiosity, are there any XSDs for SLEE 1.1 available? If not, why have you chosen to use DTDs instead?

Thanks & Best Regards,
Alexandre Mendonça
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the JAIN website at http://java.sun.com/products/jain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visit the JAIN website at http://java.sun.com/products/jain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the JAIN website at http://java.sun.com/products/jain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: SLEE 1.1 ignore-ra-type-event-type-check element missing

by Steven Adams-3 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Alexandre,

See comments inline.

Alexandre Mendonça wrote:

> Hi Steven,
>
> Thanks for the answer. It makes more sense to be placed in the
> <resource-adaptor> element than in the <resource-adaptor-type>, for what
> it is supposed to.
>
> So the DTD is correct and is the specification incorrect? Because from
> 15.3.2:
>
> *15.3.2  Resource adaptor type deployment descriptor *
> A resource adaptor type deployment descriptor contains a
> resource-adaptor-type element. This
> element contains the following attributes and sub-elements:
>
>     * An ignore-ra-type-event-type-check attribute.
>       This attribute determines if the SLEE will limit the event types
>       accessible to the resource adaptor
>       to those referenced by the resource adaptor types implemented by
>       the resource adaptor (see Sec-
>       tion 15.10). The default value of this attribute if not specified
>       is "False".
>
>
> One of them is incoherent with the other.

Yes you're right, sorry I didn't pick that up from your first email.  It
looks like it's been accidentally added to the wrong section in the
spec.  Where it exists in the DTD makes more sense than where the spec
describes it to be.

> Something else I've noticed was something not clear regarding the
> <resource-adaptor-class> element, defined in 15.4.2:
>
> *15.4.2  Resource adaptor deployment descriptor *
> Each Resource Adaptor is declared by a Resource Adaptor deployment
> descriptor. Each Resource Adaptor
> deployment descriptor contains a resource-adaptor element. This element
> contains the following
> sub-elements:
> (...)
>
>     * A resource-adaptor-class element.
>       This element contains sub-elements that identify the class that
>       implements this Resource Adaptor.
>
> (...)
>
> But from example shown later in the spec and from DTD:
>
> <!ELEMENT resource-adaptor (description?, resource-adaptor-name,
>           resource-adaptor-vendor, resource-adaptor-version,
>           resource-adaptor-type-ref+, library-ref*, profile-spec-ref*,
>           resource-adaptor-classes, config-property*)>
>
> seems the correct element name should be resource-adaptor-classes
> instead of resource-adaptor-class. Correct?

Yes.  The <resource-adaptor-class> element is a sub-element of
<resource-adaptor-classes>.

Thanks for picking these up! :)

Regards,
Steve


>
> Best Regards,
> Alexandre Mendonça
>
>
> On Thu, Jan 22, 2009 at 20:30, Steven Adams <steven.adams@...
> <mailto:steven.adams@...>> wrote:
>
>     Hi Alexandre,
>
>     "ignore-ra-type-event-type-check" is an attribute of the
>     <resource-adaptor> element, not an element itself, and is present in
>     the DTD as follows:
>
>     <!ATTLIST resource-adaptor
>                ignore-ra-type-event-type-check (True|False) "False"
>                id ID #IMPLIED>
>
>     There are no official equivalent XSD schemas released as part of the
>     spec, only the DTDs.
>
>     Regards,
>     Steve
>
>
>     Alexandre Mendonça wrote:
>
>         Hi all,
>
>         Just to let you know that while implementing JAIN SLEE 1.1, I
>         have noticed that the "ignore-ra-type-event-type-check" element
>         for the RA Type, present in the Final Release of the
>         specification (p424), is missing in the DTD.
>         Please let me know if there's anything I can do in order for it
>         to be fixed.
>
>         As a curiosity, are there any XSDs for SLEE 1.1 available? If
>         not, why have you chosen to use DTDs instead?
>
>         Thanks & Best Regards,
>         Alexandre Mendonça
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         Visit the JAIN website at http://java.sun.com/products/jain
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     Visit the JAIN website at http://java.sun.com/products/jain
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the
> JAIN website at http://java.sun.com/products/jain 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visit the JAIN website at http://java.sun.com/products/jain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~