on 02-03-2015 10:07 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Funny thing is that when i follow the SDK and change Colored Box files (as mentioned in the SDK) I don't get any error but when I change this other gauge file, which actually an speedometer sdk based on Nicholas Stein's gauge development. The momment I change the contribution.xml file's ID from speedometer to gauge, eclipse shows me the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Went thru the SDK documentation and followed it step by step to compile it but no luck as yet. Can it be related to type of Eclipse editor that I am using? I am using
Eclipse Java EE IDE for Web Developers.
Version: Luna Service Release 1a (4.4.1)
Build id: 20150109-0600
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.