[
http://jira.jboss.com/jira/browse/JBAS-4891?page=all ]
Thomas Diesler reassigned JBAS-4891:
------------------------------------
Assignee: Scott M Stark (was: Thomas Diesler)
The problem seems to be related jboss descriptors that use a dtd. Generally, dtd based
descriptors don't seem to support namespace attributes.
Currently schemas are not available for jboss-client.xml, jboss-web.xml that can also
contain <service-qname> elements
Another point is backwards compatiblity. Folks might have AS-4.2 descriptors that use dtd
based descriptors with qname elements.
If we go back to supporting the
<service-qname>{http://some-namespace}Foo</service-qname> syntax, we would
have different syntaxes in the standard vs. the proprietary descriptors.
What do you think?
Cannot unmarshall qname elements
--------------------------------
Key: JBAS-4891
URL:
http://jira.jboss.com/jira/browse/JBAS-4891
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.Beta3
jboss descriptors cannot have qname elements like this
<service-ref>
<service-ref-name>SecurePort1</service-ref-name>
<service-qname
xmlns:ns1="http://org.jboss.ws/wsref">ns1:SecureEndpointService</service-qname>
...
</service-ref>
Caused by: org.xml.sax.SAXException: Attribute "xmlns:ns1" must be declared for
element type "service-qname". @ *unknown*[21,62]
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:427)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira