Opened 11 years ago

Closed 10 years ago

#1137 closed (fixed)

OESS request Rspecs do not pass rspeclint due to schema location mismatch and schema syntax

Reported by: lnevers@bbn.com Owned by: luke@grnoc.iu.edu
Priority: major Milestone:
Component: STITCHING Version: SPIRAL6
Keywords: oess Cc: matt@internet2.edu, eboyd@internet2.edu
Dependencies:

Description

OESS RSpec fail rspeclint due to an incorrect location for loading the schema for the name space. Also there are various syntax error reported within the request schema.

The failure:

$ rspeclint oess-luke.rspec
Failed to load schema for namespace http://bssoftworks.com/geni/ext/circuit/1 
from location http://geni.bssoftworks.com/rspec/ext/circuit/1/request.xsd
: http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:46: 
Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}restriction': 
The content is not valid. Expected is (annotation?, (simpleType?, (minExclusive | 
minInclusive | maxExclusive | maxInclusive | totalDigits | fractionDigits | length | 
minLength | maxLength | enumeration | whiteSpace | pattern)*)).
http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:71: Schemas 
parser error : Element '{http://www.w3.org/2001/XMLSchema}element': The attribute 
'minOccurs' is not allowed.
http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:71: Schemas 
parser error : Element '{http://www.w3.org/2001/XMLSchema}element': The attribute 
'maxOccurs' is not allowed.
http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:73: Schemas 
parser error : Element '{http://www.w3.org/2001/XMLSchema}complexType': The content is 
not valid. Expected is (annotation?, (simpleContent | complexContent | ((group | all | 
choice | sequence)?, ((attribute | attributeGroup)*, anyAttribute?)))).
http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:85: Schemas 
parser error : Element '{http://www.w3.org/2001/XMLSchema}element': The attribute 
'minOccurs' is not allowed.
http://bssoftworks-geni.s3.amazonaws.com/rspec/ext/circuit/1/request.xsd:85: Schemas 
parser error : Element '{http://www.w3.org/2001/XMLSchema}element': The attribute 
'maxOccurs' is not allowed.

Attaching the request RSpec used for the failure in description.

Attachments (1)

oess-luke.rspec (2.3 KB) - added by lnevers@bbn.com 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by lnevers@bbn.com

Attachment: oess-luke.rspec added

comment:1 Changed 10 years ago by lnevers@bbn.com

The request in the original request is no longer relevant. Closing ticket.

comment:2 Changed 10 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.