You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Eric Lilja <mi...@gmail.com> on 2011/01/23 19:31:38 UTC

Deprecation warning in XSSerializer sample

Hello, I just tried the XSSerializer sample on Xerces 
2.11.0-schema-1_1-beta and get a deprecation warning for:
attrUse.getConstraintValue() (occurs in two places).

This did not happen with Xerces 2.10.0-schema_1_1-beta

Will the XSSerializer sample be updated to make this deprecation warning 
go away?

- Eric Lilja


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: Deprecation warning in XSSerializer sample

Posted by Eric Lilja <mi...@gmail.com>.
Thank you Mr Glavassevich for fixing this in such a prompt manner. I 
don't know if it matters for this sample or not, but I noticed a small 
typo on line 1120: "it's" instead of "its".

- Eric Lilja

On 2011-01-24 04:46, Michael Glavassevich wrote:
> Hi Eric,
>
> Good catch. The sample should have been calling
> XSAttributeUse.getValueConstraintValue().getNormalizedValue(). I've just
> updated it [1] in SVN.
>
> Thanks.
>
> [1] http://svn.apache.org/viewvc?view=revision&revision=1062634
> <http://svn.apache.org/viewvc?view=revision&revision=1062634>
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> Eric Lilja <mi...@gmail.com> wrote on 01/23/2011 01:31:38 PM:
>
>  > Hello, I just tried the XSSerializer sample on Xerces
>  > 2.11.0-schema-1_1-beta and get a deprecation warning for:
>  > attrUse.getConstraintValue() (occurs in two places).
>  >
>  > This did not happen with Xerces 2.10.0-schema_1_1-beta
>  >
>  > Will the XSSerializer sample be updated to make this deprecation warning
>  > go away?
>  >
>  > - Eric Lilja
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
>  > For additional commands, e-mail: j-users-help@xerces.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: Deprecation warning in XSSerializer sample

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Eric,

Good catch. The sample should have been calling
XSAttributeUse.getValueConstraintValue().getNormalizedValue(). I've just
updated it [1] in SVN.

Thanks.

[1] http://svn.apache.org/viewvc?view=revision&revision=1062634

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

Eric Lilja <mi...@gmail.com> wrote on 01/23/2011 01:31:38 PM:

> Hello, I just tried the XSSerializer sample on Xerces
> 2.11.0-schema-1_1-beta and get a deprecation warning for:
> attrUse.getConstraintValue() (occurs in two places).
>
> This did not happen with Xerces 2.10.0-schema_1_1-beta
>
> Will the XSSerializer sample be updated to make this deprecation warning
> go away?
>
> - Eric Lilja
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org