AnsweredAssumed Answered

XML BOM,Java interface problem in XSD

Question asked by debraj.dutta on Aug 30, 2017
Latest reply on Sep 5, 2017 by debraj.dutta

I have one Java interface for example as following

public interface A


     public static final String SD_A= "SD-A";


My question is how write the above property in XSD file ? Because I have blaze advisor project where I used XML BOM getting error that-  A<interface name> is not defined in current scope. So when I am adding that interface as following

I am getting error like :- is not a constant or static property defined by 'A'


<xs:complexType name="A"  >


<xs:attribute name="SD_A"  type="xs:string"   fixed="SD-A"/>




Any suggestion to resolve the issue?