[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Implementing JAXB style parsing for aop-mc-int

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Mar 11 13:11:26 EDT 2008


To complete my previous stack trace, if I turn on the redefine part, the entry point into the infinite recursion is 

  | ...  
  | 	XSDHandler.constructTrees(Element, String, XSDDescription) line: not available	
  | 	XSDHandler.constructTrees(Element, String, XSDDescription) line: not available	
  | 	XSDHandler.parseSchema(XMLInputSource, XSDDescription, Hashtable) line: not available	
  | 	XMLSchemaLoader.loadSchema(XSDDescription, XMLInputSource, Hashtable) line: not available	
  | 	XMLSchemaLoader.loadGrammar(XMLInputSource) line: not available	
  | 	XSLoaderImpl.load(LSInput) line: not available	
  | 	Util.loadSchema(InputStream, String, SchemaBindingResolver) line: 395	
  | 	XsdBinder.bind(InputStream, String, SchemaBindingResolver, boolean) line: 175	
  | 	XsdBinder.bind(InputStream, String, String, boolean) line: 146	
  | 	DefaultSchemaResolver.resolve(String, String, String) line: 330	
  | 	WildcardBinding.getElement(QName, Attributes) line: 174	
  | 	SequenceBinding$1.startElement(QName, Attributes, Set, List, boolean) line: 307	
  | 	SequenceBinding$1.startElement(QName, Attributes, Set, List, boolean) line: 254	
  | 	SequenceBinding$1(ModelGroupBinding$Cursor).startElement(QName, Attributes) line: 185	
  | 	SundayContentHandler.startElement(String, String, String, Attributes, XSTypeDefinition) line: 447	
  | 	SaxJBossXBParser$DelegatingContentHandler.startElement(String, String, String, Attributes) line: 407	
  | 	SAXParserImpl$JAXPSAXParser(AbstractSAXParser).startElement(QName, XMLAttributes, Augmentations) line: not available	
  | 	XIncludeHandler.startElement(QName, XMLAttributes, Augmentations) line: not available	
  | 	XMLNSDocumentScannerImpl.scanStartElement() line: not available	
  | 	XMLNSDocumentScannerImpl$NSContentDispatcher(XMLDocumentFragmentScannerImpl$FragmentContentDispatcher).dispatch(boolean) line: not available	
  | 	XMLNSDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean) line: not available	
  | 	XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean) line: not available	
  | 	XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource) line: not available	
  | 	SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: not available	
  | 	SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(String) line: not available	
  | 	SAXParserImpl$JAXPSAXParser.parse(String) line: not available	
  | 	SaxJBossXBParser.parse(String, JBossXBParser$ContentHandler) line: 173	
  | 	UnmarshallerImpl.unmarshal(String, SchemaBindingResolver) line: 139	
  | 	BasicXMLDeployer.deploy(URL) line: 147	
  | 	AOPMicrocontainerTestDelegate(MicrocontainerTestDelegate).deploy(URL) line: 297	
  | 	AOPMicrocontainerTestDelegate(MicrocontainerTestDelegate).deploy() line: 441	
  | 	AOPMicrocontainerTestDelegate.deploy() line: 76	
  | 	AOPMicrocontainerTestDelegate(MicrocontainerTestDelegate).setUp() line: 86	
  | 	AOPMicrocontainerTestDelegate.setUp() line: 60	
  | 

Also, my jboss-beans-common_2_0.xsd header looks like

  | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  |    targetNamespace="urn:jboss:beans-common:2.0"
  |    xmlns="urn:jboss:beans-common:2.0"
  |    elementFormDefault="qualified"
  |    attributeFormDefault="unqualified"
  |    version="1.0">
  | ...
  | 
I will try removing the namespace from that, and see if that breaks it

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135718#4135718

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135718



More information about the jboss-dev-forums mailing list