users@jaxb.java.net

Re: FW: [WARNING] warning: "blockDefault" attribute of <schema> is not supported

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Wed, 6 May 2009 14:32:35 +0200

Two remarks.

Neither "blockDefault" nor "finalDefault" occur in the original schemas
(where <schema> is indeed in lines 17 and 32, respectively). But these are
merely warnings and should not cause any problems.

What happens if you call the schema compiler with the -extension option, as
sugested?

-W


On Wed, May 6, 2009 at 1:07 PM, Sara Sánchez <sarasanchez1980_at_hotmail.es>wrote:

> Hi all,
>
> I have a problem when i try to parse my xsd with JAXB. I have to use the
> version 1.0.1.
>
> The error report that i obtain is:
>
> [WARNING] warning: "blockDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [WARNING] warning: "finalDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [WARNING] warning: "blockDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [WARNING] warning: "finalDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [WARNING] warning: "blockDefault" attribute of <schema> is not supported
> line 17 of xenc-schema.xsd
>
> [WARNING] warning: "finalDefault" attribute of <schema> is not supported
> line 17 of xenc-schema.xsd
>
> [WARNING] warning: "blockDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [WARNING] warning: "finalDefault" attribute of <schema> is not supported
> line 32 of xmldsig-core-schema.xsd
>
> [ERROR] In "strict" mode, the following schema feature is not allowed (See
> App E.2). Use the "-extension" switch:
> <anyAttribute>
> line 142 of xenc-schema.xsd
>
> Failed to parse a schema.
>
>
> I don't know what it means and what i have do wrong in my xsd because the
> error report indicates that the problem is with xmldsig-core-schema.xsd,
> that is *
> http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
> *and it is a specification.
>
> I need to solve this soon, so any help/suggestion is very welcome
>
> Thanks,
>
> Sara
>
>
>
>
>
> ------------------------------
> Ahora, GRATIS Hotmail en tu móvil ¡Descúbrelo aquí!<http://serviciosmoviles.es.msn.com/hotmail.aspx>
> ------------------------------
> El nuevo Windows Live tiene mucho que ofrecerte. Descúbrelo en estos
> vídeos <http://www.windowslive.es>
>