PSVI: no-union typeDefinition has membertype 2003-03-18 - By Carla Spruit
Hi Sandy,
Thank you for fixing the bug!
I have found a new problem that may be related to the same bug. Unfortunately I do not know if this is the case. If I use sample XMLGrammarBuilder to parse schema file 'Mpeg7-2001.xsd' with option 'schemaFullChecking = true' (option -f) the following stack overflow exception is thrown:
Exception in thread "main" java.lang.StackOverflowError at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source) at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source) at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source) at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source) at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source) at org.apache.xerces.impl.xs.models.XSDFACM.postTreeBuildInit(Unknown Source)
The schema can be found in the attachment of the bug report: http://nagoya.apache.org/bugzilla/show_bug.cgi?id885
Kind regards,
Carla Spruit
> -----Original Message----- > From: sandygao@(protected) [mailto:sandygao@(protected)] > Sent: dinsdag 11 maart 2003 17:31 > To: xerces-j-user@(protected) > Subject: Re: PSVI: no-union typeDefinition has membertype > > > Sounds like a bug to me. *After* you create a new bug report, > you can open > that report and attach files to it. > > Thanks, > Sandy Gao > Software Developer, IBM Canada > (1-905) 413-3255 > sandygao@(protected) > > > > > > "Carla Spruit" > > <carla@(protected) To: > <xerces-j-user@(protected)> > > > cc: > > Subject: > PSVI: no-union typeDefinition has membertype > > 03/11/2003 08:46 > > AM > > Please respond to > > xerces-j-user > > > > > > > > > > Hi, > > When parsing an MPEG7 description document with validation, I find > several attributes with the following properties: > > - the corresponding AttributePSVI has a type definition of instance > XSSimpleTypeDefintion > - the simple type definition has a variety which is not equal to > XSSimpleTypeDefinition.VARIETY_UNION. > - the AttributePSVI has a memberTypeDefinition. > > According to the XML Schema API, this is not possible. Are there any > circumstances where membertypes are found while no unions are > involved? > > I have a sample program that can reproduce the case, however, the > data-set is rather large. > If this is a bug I would like to report it in Bugzilla. Is there a way > to attach files to the bugreport? > > Thanks in advance, > > Carla Spruit > > > > X-Hive Corporation (www.x-hive.com) > email: carla@(protected) > phone: +31 010 2818080 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected) >
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|