Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
"Compilation" problem in JAXB2.0|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
Hello ....
In my XML schema, there is an element "DEFAULT" which is the child element of "FIELD" element and also an attribute "DEFAULT",which attribute of "FIELD" element. But when I compile it in JAXB , to get the derived JAVA classes the following error is displayed.... ********************************************* C:\jaxb_2.0.1>xjc new.xsd parsing a schema... [ERROR] Property "DEFAULT" is already defined. line 106 of file:/C:/jaxb_2.0.1/new.xsd [ERROR] The following location is relevant to the above error line 183 of file:/C:/jaxb_2.0.1/new.xsd Failed to parse a schema. ************************************************ Here line 106 contains attribute "DEFAULT" and line 183 contains element "DEFAULT". I have created the schema as per the original XML document which consists of an element and attribute "DEFAULT" as mentioned above. This XML document cannot be modified since it is confidential. So can anyone please give the remedy for this problem. |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
"Compilation" problem in JAXB2.0
