commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Brisbin" <jon.bris...@npcinternational.com>
Subject [Jelly] Jelly parser messing up my schemaLocation attribute
Date Wed, 28 Jul 2004 16:06:14 GMT
Why is the "xsi:" prefix stripped from my schemaLocation attribute when I
run my configuration files through Jelly?

Here's an example:

Original XML file:

<x:action xmlns:x="http://npci.com/xportal/action/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://npci.com/xportal/action/1.0
http://devx.npci.com/xsd/jdbc-handler.xsd">

After parsing with Jelly:

<x:action schemaLocation="http://npci.com/xportal/action/1.0
http://devx.npci.com/xsd/jdbc-handler.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:x="http://npci.com/xportal/action/1.0">

It does the same thing whether I pass a Xerces SAXParser into the Jelly
XMLParser or not.

Any help you could give would be greatly appreciated.

Thanks!

Jon Brisbin
=======================================
Development Programmer
NPC International
(620) 235-7726



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message