Thanks for quick answer. Reported bug in jira: http://jira.codehaus.org/browse/CASTOR-1369

On 3/21/06, Ralf Joachim <[EMAIL PROTECTED]> wrote:
Hi Stoil,

thank you for working at this issue yourself even if I could not take a
look at your patch yet as it had been droped from your mail.

Could you please create a new issue at:

http://jira.codehaus.org/browse/CASTOR

and attach your patch and the test project there. We'll take a look on
what you have done and come back to you with questions if neccessary.

Regards
Ralf


stoil valchkov schrieb:
> Hi all,
>
> I have some patch for this situation. Could you review it and say if it
> is ok or not and if it's ok to be included in release?
>
> In attachment you'll find patch against tag_0_9_6. I tried to attach
> simple eclipse test project which I used to debug the problem but mail
> wasn't accepted as too big for mail list.
>
> Best regards,
> Stoil
>
>
> On 3/15/06, * stoil valchkov* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi,
>
>     I got this:
>
>
>     java.lang.NullPointerException
>         at
>     org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.createSimpleType(SimpleTypeDefinition.java:141)
>         at
>     org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.getSimpleType (SimpleTypeUnmarshaller.java:162)
>         at
>     org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(SchemaUnmarshaller.java:642)
>         at
>     org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement (Sax2ComponentReader.java:198)
>         at
>     org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
>         at
>     org.apache.xerces.validators.common.XMLValidator.callEndElement (XMLValidator.java:1436)
>         at
>     org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1205)
>         at
>     org.apache.xerces.framework.XMLDocumentScanner.parseSome (XMLDocumentScanner.java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser..java:1035)
>         at
>     org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(ImportUnmarshaller.java :196)
>         at
>     org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(SchemaUnmarshaller.java:524)
>         at
>     org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startElement (Sax2ComponentReader.java:253)
>         at
>     org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
>         at
>     org.apache.xerces.validators.common.XMLValidator.callStartElement (XMLValidator.java:1197)
>         at
>     org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)
>         at
>     org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch (XMLDocumentScanner.java:1238)
>         at
>     org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser..java:1035)
>         at
>     org.exolab.castor.xml.schema.reader.SchemaReader.read(SchemaReader.java:248)
>         at Test1.main(Test1.java:39)
>
>     while trying to load file Fields.xsd. The case is extension by
>     restriction of union. Castor is 0.9.6, but latest is the same I
>     think. Do you have proposals how to fix this? I'm trying to find a
>     solution but without luck yet.
>
>     Regards,
>     Stoil
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------


Reply via email to