[jboss-jira] [JBoss JIRA] Closed: (JBPM-734) org.jbpm.util.XmlException: couldn't parse xml
Tom Baeyens (JIRA)
jira-events at lists.jboss.org
Wed Apr 18 03:41:40 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-734?page=all ]
Tom Baeyens closed JBPM-734.
----------------------------
> org.jbpm.util.XmlException: couldn't parse xml
> ----------------------------------------------
>
> Key: JBPM-734
> URL: http://jira.jboss.com/jira/browse/JBPM-734
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.1.2
> Reporter: Ivan Garcia
> Assigned To: Tom Baeyens
> Priority: Minor
>
> This code
> try{
> String cfg = "<jbpm-configuration>";
> cfg += "</jbpm-configuration>";
>
> jbpmConfiguration = JbpmConfiguration.parseXmlString(cfg);
>
>
> }catch(Exception e){
> e.printStackTrace();
> }
> launch this exception,
> org.jbpm.util.XmlException: couldn't parse xml
> at org.jbpm.util.XmlUtil.parseXmlInputSource(XmlUtil.java:78)
> at org.jbpm.util.XmlUtil.parseXmlResource(XmlUtil.java:60)
> at org.jbpm.configuration.ObjectFactoryParser.parseElementsFromResource(ObjectFactoryParser.java:104)
> at org.jbpm.JbpmConfiguration.parseObjectFactory(JbpmConfiguration.java:299)
> at org.jbpm.JbpmConfiguration.parseXmlString(JbpmConfiguration.java:318)
> Caused by: java.net.MalformedURLException
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at org.jbpm.util.XmlUtil.parseXmlInputSource(XmlUtil.java:76)
> ... 6 more
> and i dont know why :-(
> Thanks
--
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
More information about the jboss-jira
mailing list