xsl-list
[Top] [All Lists]

[xsl] Re: XSLT 3.0: What is the default visibility of a package component inside the declaring package ?

2014-11-02 11:59:20
The rules are given here:

http://www.w3.org/TR/xslt-30/#element-expose

The visibility depends on both the visibility attribute of the component, and 
the rules in the package's xsl:expose declarations. If neither apply, the 
default visibility is private.

The visibility of a component affects whether it can be used in a different 
package. Components can always be used within the package in which they are 
declared.

Michael Kay
Saxonica
mike(_at_)saxonica(_dot_)com
+44 (0) 118 946 5893




On 2 Nov 2014, at 17:09, Dimitre Novatchev <dnovatchev(_at_)gmail(_dot_)com> 
wrote:

What is the default visibility of a package component inside the
declaring package, if the component has no "visibility" attribute
specified on its declaration?

I believe that the default visibility should be "public", however I
couldn't find any statement about this in the latest XSLT 3.0
specification.

So, could someone confirm my guess, and/or point the text in the Spec
that explains this?

If there isn't really such definition, I believe it needs to be added
to the specification.

-- 
Cheers,
Dimitre Novatchev
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>