bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug xml/28816] Behavioral Difference in Java and Classpath executions w


From: kulkarni dot avadhoot at gmail dot com
Subject: [Bug xml/28816] Behavioral Difference in Java and Classpath executions while using System property while creating SchemaFactory Instances.
Date: 18 Sep 2006 07:20:25 -0000


------- Comment #2 from kulkarni dot avadhoot at gmail dot com  2006-09-18 
07:20 -------
Hi,
It doesnt matter if Classpath supports schema validation or not. What I am
expecting here is, classpath will not overlook the System property while
creating a SchemaFactory Instance. I have my own SchemaFactory class
Implementation say "MySchemaFactoryImpl" which I want to be instantiated when
Schemafactory.NewInstance() is called.

<my Source>
System.setProperty("javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema";,
                                     "MySchemaFactoryImpl");
SchemaFactory sf
=SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema";);
<end of source>

Should return instance of "MySchemaFactory" insated of default
"gnu.xml.validation.xmlschema.XMLSchemaSchemaFactory".


-- 

kulkarni dot avadhoot at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28816





reply via email to

[Prev in Thread] Current Thread [Next in Thread]