"c:\program files\oxygen 7.1\schemadocumentation

This should cover W3C XML Schema, Relax NG and DTD related problems.
avdende
Posts: 2
Joined: Tue Apr 25, 2006 2:37 pm

"c:\program files\oxygen 7.1\schemadocumentation

Post by avdende » Tue Apr 25, 2006 2:41 pm

Hi,

When using schemadocuemtnation.bat the diagram step ends with :
Exception in thread "main" java.lang.NullPointerException
at org.apache.xerces.impl.xs.XSModelGroupImpl.getAnnotation(Unknown Source)
at ro.sync.exml.F.I.B.C.W(Unknown Source)
at ro.sync.exml.F.I.B.I.getAttributes(Unknown Source)
at ro.sync.exml.F.I.B.I.getAttribute(Unknown Source)
at ro.sync.exml.L.G.P(Unknown Source)
at ro.sync.exml.F.I.A.C$_V.P(Unknown Source)
at ro.sync.exml.L.G.M(Unknown Source)
at ro.sync.exml.L.G.C(Unknown Source)
at ro.sync.exml.L.D.C(Unknown Source)
at ro.sync.exml.L.P.D(Unknown Source)
at ro.sync.exml.L.P.A(Unknown Source)
at ro.sync.exml.L.P.C(Unknown Source)
at ro.sync.exml.L.P.B(Unknown Source)
at ro.sync.exml.L.P.E(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.A(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.A(Unknown Source)
at ro.sync.exml.SDImageGenerator.generateSDImages(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.main(Unknown Source)

george
Site Admin
Posts: 2101
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Tue Apr 25, 2006 2:47 pm

Hi,

This is a problem inside Xerces 2.8.0, it throws a NullPointerException when we call getAnnotation on the mode group that is the main particle of the extended type. We already reported this to Xerces [1] through Radu Coravu and the bug was already fixed. You can grab the current xercesImpl.jar from the Xerces development snapshots [2] and replace xercesImpl.jar in the oXygen lib folder. That should fix this problem, we tested the Xerces snapshot from April the 19th [3].
Make sure you use Java 1.5 for oXygen as the Xerces build [3] is compiled with Java 1.5.

[1] http://issues.apache.org/jira/browse/XERCESJ-1149
[2] http://vmgump.apache.org/gump/public-ja ... ces2/jars/
[3] http://vmgump.apache.org/gump/public-ja ... 042006.jar

Best Regards,
George

avdende
Posts: 2
Joined: Tue Apr 25, 2006 2:37 pm

Post by avdende » Wed Apr 26, 2006 12:04 pm

Thanks, works fine now.

Are the icons in the schema diagrams based on a standard?

Kind regards

george
Site Admin
Posts: 2101
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Wed Apr 26, 2006 12:31 pm

Hi,

No, I do not know any standard to specify that.

Best Regards,
George

Post Reply