Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Contribution.xml error

Hi Experts,

I have been tinkering around with Design Studio SDK and while working on sample, I am coming across this error when I try to modify Contribution.XML file

Description Resource Path Location Type

cvc-attribute.3: The value 'com.Gauge' of attribute 'id' on element 'sdkExtension' is not valid with respect to its type, 'null'. contribution.xml /com.Gauge line 7 XML Problem.

Description Resource Path Location Type

cvc-pattern-valid: Value 'com.Gauge' is not facet-valid with respect to pattern '([a-z|\d])+(\.([a-z]|\d)+)*' for type '#AnonType_idExtension'. contribution.xml /com.Gauge line 7 XML Problem

I tried find information on google with the same wordings but I can't find anything.  I did a one on one comparision with the existing contribute.xml file and the only thing that I am changing is the description of the ID attribute of element sdkExtension.  I am really getting into this SDK business for the first time but will be spending whole lot more time to explore things.  But until I can compile a sample, I will have no idea how to proceed further.

Any comments are greatly appreciated.

Thank you,

Raj

Tags:
Former Member
Former Member replied

Hi Raj,

Based on the error message you posted, Eclipse is expecting all lowercase letters for the extension ID. Change your extension ID to "com.gauge" instead of "com.Gauge" and your issue should be resolved.

Cheers,

Nick

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question