[
https://issues.jboss.org/browse/SHRINKDESC-130?page=com.atlassian.jira.pl...
]
Ralf Battenfeld commented on SHRINKDESC-130:
--------------------------------------------
I looked a little bit about the different approaches of loading a resource. The difference
between getClass().getResourceAsStream() and
getClass().getClassLoader().getResourceAsStream() is that the second requires the absolute
path. So, when I add the prefix "xsd/" + schema, then it works.
Thanks
Ralf
-
Provide a way to validate an imported or created descriptor content
-------------------------------------------------------------------
Key: SHRINKDESC-130
URL:
https://issues.jboss.org/browse/SHRINKDESC-130
Project: ShrinkWrap Descriptors
Issue Type: Feature Request
Reporter: Ralf Battenfeld
Assignee: Ralf Battenfeld
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira