[ 
http://jira.codehaus.org/browse/JIBX-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski closed JIBX-255.
--------------------------------


> incorrect processing of the xsd file
> ------------------------------------
>
>                 Key: JIBX-255
>                 URL: http://jira.codehaus.org/browse/JIBX-255
>             Project: JiBX
>          Issue Type: Bug
>          Components: xsd2jibx
>    Affects Versions: JiBX 1.1
>         Environment: Windows XP, JDK 1.5.0_11
>            Reporter: Ilya Lebedev
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2.1
>
>
> Hello,
> I'm trying to build the binding for the following xsd:
> http://docs.oasisopen.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
> xsd2jibx fails with the following message:
> "Invalid package name: 
> org.oasis-open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0_xsd"
> Replacing "oasis-open" with "oasisopen", i receive the following stacktrace:
> java.lang.NullPointerException
>         at org.jibx.xsd2jibx.NameUtil.trimPrefix(NameUtil.java:213)
>         at org.jibx.xsd2jibx.XsdStructure.getXsdType(XsdStructure.java:100)
>         at org.jibx.xsd2jibx.XsdSimpleType.getBase(XsdSimpleType.java:14)
>         at org.jibx.xsd2jibx.Generator.getQNameSimpleType(Generator.java:363)
>         at org.jibx.xsd2jibx.Generator.getQName(Generator.java:546)
>         at org.jibx.xsd2jibx.XsdFeature.getFieldQName(XsdFeature.java:87)
>         at org.jibx.xsd2jibx.JSource.newField(JSource.java:171)
>         at org.jibx.xsd2jibx.JSource.newBeanProperty(JSource.java:111)
>         at 
> org.jibx.xsd2jibx.XsdComplexType.processStructure(XsdComplexType.java:383)
>         at org.jibx.xsd2jibx.XsdComplexType.process(XsdComplexType.java:245)
>         at org.jibx.xsd2jibx.Generator.execute(Generator.java:233)
>         at org.jibx.xsd2jibx.Generate.generate(Generate.java:131)
>         at org.jibx.xsd2jibx.Generate.main(Generate.java:182)
> Any help will be highly appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to