• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • Reporter: amahier
  • May 11, 2011
  • 0
  • Watchers: 2
  • July 27, 2012
  • May 12, 2011

Description

Hi,

the current ehcache.xsd schema available at http://ehcache.org/ehcache.xsd is not a valid schema.

at line 122, the definition <xs:element name="cache1" ref="jsr107:cache" /> is not correct as attribute ref is forbidden in a top element

Detailed message : {{s4s-att-not-allowed: Attribute ‘ref’ cannot appear in element ‘element’.}}

In the http://www.w3.org/2001/XMLSchema.xsd file, annotation for element definition is: {quote} The element element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. The ref form is not allowed at the top level. {quote}

Regards

Comments

Fiona OShea 2011-05-11

Greg, are you taking care of this one? thanks

gluck 2011-05-12

Fixed.

Not a code commit. I had changed locally and generated the site. Fixed on the site 6:30pm PST 12 May.