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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XML Schema in JAXP1.2

[ Lists Home | Date Index | Thread Index ]

Hi Shen,

> However, does jaxp1.2 fully support XML Schema?
>
> I got the following strange errors:
>
>  Invalid attribute value for 'maxOccurs' in element 'all' ...

This error sounds as if you have maxOccurs="unbounded" or something
similar on an <xs:all> element; if you have a maxOccurs attribute on
an <xs:all> element, it must have the value 1.

>  {abstract} of the element declaration of '....' must be false...

This error sounds as if you have abstract="true" on a local element
declaration.

> It seems not to support these two attributes. 

Without seeing the schema it's hard to tell whether they arise from
the validator not supporting XML Schema properly or from errors in
your schema. If you want to post your schema to see if it actually
contains errors, I recommend sending it to xmlschema-dev@w3.org rather
than XML-Dev.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS