srcanaapps/codescannerextn/com.nokia.carbide.cpp.codescanner/schema/knowledgeBase.exsd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanaapps/codescannerextn/com.nokia.carbide.cpp.codescanner/schema/knowledgeBase.exsd Thu Feb 18 12:28:37 2010 +0530
@@ -0,0 +1,121 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="com.nokia.carbide.cpp.codescanner" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appinfo>
+ <meta.schema plugin="com.nokia.carbide.cpp.codescanner" id="rules" name="Rules"/>
+ </appinfo>
+ <documentation>
+ The Rules extension point registers a plugin that contributes CodeScanner rules.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="ruleSet" minOccurs="1" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute translatable="true"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="ruleSet">
+ <annotation>
+ <documentation>
+ The ruleSet element register a set of rules contributed by a plugin
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="location" type="string">
+ <annotation>
+ <documentation>
+ The plugin-relative path of the folder containing the rule set
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ Name of the rule set
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="since"/>
+ </appinfo>
+ <documentation>
+ Carbide.c++ 2.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="examples"/>
+ </appinfo>
+ <documentation>
+ <pre>
+<extension point="com.nokia.carbide.cpp.codescanner.rules">
+ <ruleSet
+ name="Touch SDK"
+ location="data/rules/"
+ />
+</extension>
+</pre>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="apiinfo"/>
+ </appinfo>
+ <documentation>
+ No API implementation is required.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="implementation"/>
+ </appinfo>
+ <documentation>
+ This extension point registers a plugin that contributes CodeScanner rules. Implementation is not required.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="copyright"/>
+ </appinfo>
+ <documentation>
+ (C) Copyright 2008 Nokia Corporation.
+ </documentation>
+ </annotation>
+
+</schema>