Author: dsakovich
Date: 2008-10-24 14:37:48 -0400 (Fri, 24 Oct 2008)
New Revision: 11178
Modified:
branches/jbosstools-3.0.0.Beta1/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/DocTypeUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2990
Modified:
branches/jbosstools-3.0.0.Beta1/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/DocTypeUtil.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/DocTypeUtil.java 2008-10-24
18:36:42 UTC (rev 11177)
+++
branches/jbosstools-3.0.0.Beta1/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/DocTypeUtil.java 2008-10-24
18:37:48 UTC (rev 11178)
@@ -339,7 +339,8 @@
Attr attr = element.getAttributeNode(attributeName);
try {
- URI uri = new URI(attr.getValue());
+ //System.out.println(attr.getValue().replace(oldChar, newChar));
+ URI uri = new URI(attr.getValue().replace('\\', '/'));
if (!uri.isAbsolute()) {
// corrected path
attr.setValue(Constants.FILE_PREFIX + initFile.getParent()