• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XSD valdation

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I have created a java class as like http://www.oracle.com/technology/pub/articles/vohra_xmlschema.html , i have used DOM parser,

and
1. i have used LoadJava tool to upload my java class to oracle server,
2. I have created a PL/SQL function to invoke this java class to validate XML against the xsd.

But my problem is ,When i invoke the PL/SQL function i am passing XML as string and XSD as CLOB field to the java class , is any other way to cache the xsd into the java class instead of frequent reading clob ?

I want ti increase the performance.

* Since my xsd getting changed frequently am moving to this solution otherwise schema based XMLTYPE would be better for xml validation
 
Bartender
Posts: 1849
15
Eclipse IDE Spring VI Editor Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not REALLY an Oracle question... I suppose I don't really know the BEST place for you to get the most relevant answers, but let's get you to the performance forum to see how that might fit there....

 
prabu padmanathan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Since my xsd getting changed frequently am moving to this solution otherwise schema based XMLTYPE would be better for xml validation


Doesn't this mean you can't cache your schema?
 
prabu padmanathan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Since my environment will have daily boot , i can clear the cache daily , and my xsd will get change monthly once.

Thanks
Prabu.P
 
reply
    Bookmark Topic Watch Topic
  • New Topic