You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Heimo Hanninen <hj...@xiacorp.com> on 2001/02/23 17:58:33 UTC

Xalan-J 2 BUG

Hi


version used:

README for xml-xalan project at xml.apache.org

-- This Xalan build is 1.2.
   It is compatible with Xerces 1.1.3
I am processing XMI based stuff, exported from Rational Rose and the problem
is:

REPORT

namespace declaration is a valid URI, but Xalan has a different
interpretation on namespace URI
and stops processing as soon as it hits element in that name space, in this
case UML.

original "header part"

<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<XMI xmi.version = '1.1' xmlns:UML='//org.omg/UML/1.3' timestamp = 'Fri Feb
02 15:25:57 2001' >
 <XMI.header>


in order to get Xalan process instance properly I have to tweak the
namespace declaration by adding "http:", which
shouldn't be mandatory by URI spec. http: defines the protocol used, not
actual URI...

<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<XMI xmi.version = '1.1' xmlns:UML='http://org.omg/UML/1.3' timestamp = 'Fri
Feb 02 15:25:57 2001' >
 <XMI.header>


thanks,

Heimo Hanninen
Xia Information Architects
hjh@xiacorp.com <ma...@xiacorp.com>
+1 613 723 7759#224