From: <ad...@jb...> - 2005-04-28 00:18:35
|
Let me know if you'd rather I raise JIRA tasks for these: I've got some corrections to do to fix misconceptions and some "lost in translation" usage of the metadata, but that is less important at the moment and my problem :-) The main problems are: 1) If you don't specify a schema on the xml document you get lots of warnings and a NULL object back. I would expect this to be a hard error if you pass in an xml document that has no relevence to the schema binding. 2) Even though I've told it the schema with the schema binding (including the real local location) this has no affect on the entity resolver: | 4625 WARN [EntityResolver] Entity is not registered, publicId=null systemId=file:/home/ejort/jboss-head/workspace/kernel/src/resources/xml-test/org/jboss/test/kern | el/xml/test/pojo-deployer_1_0.xsd | It wants to load it from the system id (because there is no public id?) and it believes the system id should be the same place as the xml file. | <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="urn:jboss:xml-deployer xml-deployer_1_0.xsd" | xmlns="urn:jboss:xml-deployer"> | 3) Bill added the ability to use streams in the parsing, I think because he wants to pass in fragments. There is no corresponding api for the schema binding. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875685#3875685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875685 |