[ https://issues.apache.org/jira/browse/DOSGI-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990473#comment-12990473 ]
Prasanth B edited comment on DOSGI-69 at 2/4/11 7:12 AM: --------------------------------------------------------- I was also seeing this error while loading intent-map.xml, that xmldsig-core-schema.xsd could not resolved, even though it is bundled in the jar file. By investigatng further, the actual problem seems like this section <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [ <!ATTLIST schema xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#"> <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'> <!ENTITY % p ''> <!ENTITY % s ''> ]> the xmldsig-core-schema.xsd file bundled in cxf-bundle-minimal jar file was the problem. Actually it tried to download XmlSchema.dtd and datatypes.dtd from www.w3.org. The error was completely misleading. The problem got solved by removind the above lines from that xsd file. Hope this helps. was (Author: bprasanth): I was also seeing this error on intent-map.xml that xmldsig-core-schema.xsd could not resolved, even though it is bundled in the jar file. By investigatng further, the actual problem seems like this section <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [ <!ATTLIST schema xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#"> <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'> <!ENTITY % p ''> <!ENTITY % s ''> ]> the xmldsig-core-schema.xsd file bundled in cxf-bundle-minimal jar file was the problem. Actually it tried to download XmlSchema.dtd and datatypes.dtd from www.w3.org. The error was completely misleading. The problem got solved by removind the above lines from that xsd file. Hope this helps. > CXF-DOSGi requires internet access when reading XML > --------------------------------------------------- > > Key: DOSGI-69 > URL: https://issues.apache.org/jira/browse/DOSGI-69 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW > Affects Versions: 1.1 > Reporter: David Bosschaert > Assignee: David Bosschaert > Attachments: dosgi69-withoutEmbeddedDependencies.patch, dosgi69.patch > > > When the DOSGi system parses XML (such as an intent map or > remote-services.xml file) it tries to resolve the used XML schema's from the > internet, even though they are part of the distribution. This shouldn't be > happening. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira