Ok, so I found the example report that uses the custom component in demo/barcode and following that example on how to add a custom component in the jrxml with the componentElement block I now have this problem: To specify the namespace for my custom component i need to define schemaLocation, the xsd-file for my report is placed on classpath in a jar together with the custom component. When i try with a relative classpath to the xsd-file and then try to compile or view the report in iReport in design mode i get an error that the file cannot be found (the xml parser treats the relative path as an absolute path in the filesystem). Is it possible to get jasper to tell the XML-parser to look for my .xsd in the classpath? In my spring beans-file which i have based on the xml in the barcode demo i have an xmlParser with a "internalSchemaResource" pointing to the xsd-file on the classpath. Is it possible to avoid coding any path to the .xsd file in the report xml and make it use that? Post Edited by johanandren at 05/13/2009 09:30