Should itemCreationPolicy be inherited by default?
Hello, I'm new to the forum and I have been toying around with Gumbo for a while now. I tend to use states a lot and did notice that setting itemCreationPolicy to immedate is the new way to go if you want to have your controls initiated in order to work with them in actionscript before a specific state is entered. Nesting buttons and textinput controls inside containers like Box or Panel and setting includeIn or excludeFrom on those containers works like a charm, but if I want to have a specific control inside a container instantiated immedately I have to set includeIn and itemCreationPolicy on every child of the container that appears before the control I want to have access to in actionscript.
Example:
<mx:VBox horizontalAlign="center" width="100%" height="100%" id="receiverSearchBox" includeIn="FindReceiver,FindReceiverLoading,FindReceiverEx" itemCreationPolicy="immediate">
<mx:Text text="{resourceManager.getString('evoChat2008','message_receiver_long')}" styleName="standardLabel" includeIn="FindReceiver,FindReceiverLoading,FindReceiverEx" itemCreationPolicy="immediate" />
<mx:TextInput id="txtReceiver" styleName="inputBox" enter="receiverSearchClick(null);" includeIn="FindReceiver,FindReceiverLoading,FindReceiverEx" itemCreationPolicy="immediate" />
</mx:VBox>
If itemCreationPolicy was inherited to the childs of a container it would require a lot less redundant mxml code. Besides that I think the new states syntax is pretty clean and elegant.
Hmmm...
Well, the intent of itemCreationPolicy and itemDestructionPolicy is that they be paired up with includeIn or excludeFrom. The creation policy is simply a hint to the underlying factory used to create the state-specific instance, that it needs to create the managed instance as early as possible.
In your example the VBox and its children are all included in the same states, so there is no need to specify includeIn or itemCreationPolicy on each child... were you thinking of a different use case?
e.g. This works fine - foo, bar, and baz are all accessible prior to entering state 'b'.
<s:VGroup id="foo" includeIn="b" itemCreationPolicy="immediate">
<s:Button id="foo"/>
<s:Button id="baz"/>
</s:VGroup>
Similar Messages
-
i don't have my navigation bar at all. I tried to start in safe mode but I never get the dialog box the y say you should get to reset to defaults. Help? I have even uninstalled and reloaded firefox
== This happened ==
Every time Firefox opened
== My wife hit a button and doesn' know what happenedSee if this helps. View > Toolbars, if no check beside Navigation Bar, click on Navigation Bar to check it.
<u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
Turning the Menu Bar on and off is a new feature in version 3.6.
''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
<u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
<u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
<u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
See:
http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
<u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
<u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
<u>'''Full Screen mode'''</u>
http://kb.mozillazine.org/Netbooks#Full_screen
Also see:
''' [[Back and forward or other toolbar buttons are missing]]'''
'''[[Navigation Toolbar items]]'''
'''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''
<u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
<u>'''Update Java'''</u>: your ver. 1.6.0.18; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
(Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
''(Windows users: Do the manual update; very easy.)''
~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
Do the update with Firefox closed.
<u>'''NOTE:'''</u> Java version 1.6.0.21 has been released. It is mainly an update for developers of Java applications and most users do not need to be concerned about downloading version 1.6.0.21. <u>'''''At this time'''''</u>, the update option in existing installations of Java 1.6.0.20 are not updating to version 1.6.0.21; <u>'''''at this time'''''</u>, it must be manually downloaded and installed. According to the Java release notes:
''"'''Bug Fixes'''''
''Java SE 6 Update 21 does not contain any additional fixes for security vulnerabilities to its previous release, Java SE 6 Update 20. Users who have Java SE 6 Update 20 have the latest security fixes and do not need to upgrade to this release to be current on security fixes."'' Source: http://java.sun.com/javase/6/webnotes/6u21.html
<u>'''Install/Update Adobe Flash Player for Firefox (aka Shockwave Flash)'''</u>: your ver. 10.0 r45; current ver. 10.1 r53 ('''important security update 2010-06-10'''; see: http://www.adobe.com/support/security/bulletins/apsb10-14.html)
~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
-'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
-exit Firefox (File > Exit)
-''<u>In Windows,</u>'' check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
-''<u>In Windows,</u>'' double-click on the Adobe Flash installer you just downloaded to install/update Adobe Flash
-when the Flash installation is complete, start Firefox, and test the Flash installation here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
*<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
*'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version of Flash. To install/update the IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash installer. See: [[ActiveX]]
*Also see: http://kb.mozillazine.org/Flash ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]
<u>'''You '''</u>~~red:<u>'''MAY'''</u>~~<u>''' need to Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. N/A; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Open the Adobe Reader installed on your system (''in Windows, Start > Program Files, find and click Adobe Reader to open''), click Help, click Check for Updates. Allow the download/update to occur. If you use this method, no need to proceed with the instructions below, <u>'''but'''</u> do look at the two bulleted items at the bottom "'''<u>NOTE for IE:</u>'''" and "Also see:". Restart Firefox and check your new version here: http://www.mozilla.com/en-US/plugincheck/
''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
-'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
-exit Firefox (File > Exit)
-In Windows: check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
-In Windows: double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
*<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
*'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: [[ActiveX]]
*Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]] -
Style Inheritance on default custom style
I've created a custom class that uses some customs styles
I've defined (i.e. underlineColor). I used the sample code to
create a default style value with a one time classConstruct method.
I did notice that the sample code provided by adobe doesn't
seem to work when you use a style tag to define only some of the
style parameter, I was able to fix this by checking each style
parameter in the construct and setting only the ones that where non
existing.
But I then hit another wall, this time trying to use style
inheritance, according to documentation, inherited styles are check
on the parent first and then checked on the class defined styles,
but I've noticed that this doesn't seem to work, in fact if I use
the classConstruct method to define the style default values then
inherited values are not used.
I was wondering if anyone knows how to create styles default
values with inheritance and how the classConstruct method is really
used.
thanks"buabco" <[email protected]> wrote in
message
news:[email protected]...
> OK I did that to fix the problem when you have an
incomplete CSS
> definition,
> but it doesn't work when you have inheritance, and it's
wierd anyway since
> the
> code get to run only once that the inheritance get
compromised. I've
> simplified
> the code to show what I'm doing:
>
>
> Adobe Example is like this:
>
>
[Style(name="customStyle",type="Number",format="length",inherit="no")]
> public class testClass extends UIComponent {
> // Define a static variable.
> private static var classConstructed:Boolean =
classConstruct();
>
> // Define a static method.
> private static function classConstruct():Boolean {
> if (!StyleManager.getStyleDeclaration("testClass"))
> {
> // If there is no CSS definition for StyledRectangle,
> // then create one and set the default value.
> var testStyle:CSSStyleDeclaration = new
CSSStyleDeclaration();
> testStyle.defaultFactory = function():void
> {
> this.customStyle = 5;
> }
> StyleManager.setStyleDeclaration("testClass", testStyle,
true);
>
> }
> return true;
> }
>
> // Constructor
> public function testClass() {
> super();
> }
>
> }
>
> But this code fails when you create a style declaration
for testClass that
> doesn't include customStyle, in that case customStyle is
not set to
> default.
>
> So I change it to:
>
>
[Style(name="customStyle",type="Number",format="length",inherit="no")]
> public class testClass extends UIComponent {
> // Define a static variable.
> private static var classConstructed:Boolean =
classConstruct();
>
> // Define a static method.
> private static function classConstruct():Boolean {
> var nsd:CSSStyleDeclaration;
> if (!StyleManager.getStyleDeclaration("testClass")) {
> // If there is no CSS definition for StyledRectangle,
> // then create one and set the default value.
> nsd = new CSSStyleDeclaration();
> } else {
> nsd = StyleManager.getStyleDeclaration("testClass");
> }
>
> //Definamos los estilos personalizados
> //Para el titulo
>
> if
(!StyleManager.isValidStyleValue(nsd.getStyle("customStyle")))
> nsd.setStyle("customStyle", "5");
>
> StyleManager.setStyleDeclaration("testClass", nsd,
true);
>
> return true;
> }
>
> // Constructor
> public function testClass() {
> super();
> }
>
> }
>
> now the code checks for the parameter before setting it.
Still if I set
> the
> inheritance to true this code doesn't work. The strange
part is that It
> should
> since this code it's supose to be executed only once and
it doesn't set
> the
> class parameter directly but it fills the StyleManagers
data instead,
> according
> to inheritance order the parents that should be used
before the class
> specific
> data, or am I wrong?
No, the closer the tag is to being your actual class, the
more likely its
style is to be used.
http://www.adobe.com/livedocs/flex/3/html/help.html?content=styles_04.html
You might find this useful
http://blog.flexexamples.com/2007/12/24/displaying-a-combobox-controls-inherited-styles-in -flex/ -
It should be possible to set default behavior for all file types
It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
''edited to remove swearing''I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
represents the change I just made when applying Detail view to all Picture folders.?
This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
settings), and this is the result:
this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
performance or reliability.
Yolanda Zhu
TechNet Community Support -
Block Inheritance and Default Domain Policy
Hello to all, I will run a cross-forest migration and target forest has a Default Domain Policy. Target domain is Windows 2003 Functional Level, but has almost all DCs on Windows 2008. As first level OUs represents country codes (USA, GBR, FRA,
etc) and a new country will be created I want to block GPOs from Domain level. The task itself is very easy, just configure "Block Inheritance" on the new country OU. Important: Default Domain Policy is >> not set << to "Enforce"
on target domain.
Question: the security configurations (account, password, local policies) from Default Domain Policy will be blocked? If yes, how domain users below this new country OU will have basic configurations for them (password complexity, password length,
certificates, etc) ?
Regards, EEOC.Question: the security configurations (account, password, local policies) from Default Domain Policy will be blocked? If yes, how domain users below this new country OU will have basic configurations for them (password complexity, password length,
certificates, etc) ?
The Domain security policy for passwords etc, is domain-wide, and cannot be blocked.
It applies to, and is controlled by, the Domain Controllers.
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Should I Reset Keychain to Defaults When I'm Logged on Guest User?
Hi, advanced Merry Christmas. As guest and relatives are arriving for Christmas eve, I've logged on to Guest User but should I reset keychain (it appears on Safari) to default or should I cancel? If I reset, will it actually reset my admin account's keychain?
Thank you in advance.
God bless. Rev. 21:4Can you provide more details? You have formulated a question which appears to assume some behavior you see is normal and everyone would understand.
I'm not sure how you would reset the keychain in the guest user, or why up you'd want to. When you log out of Guest, it completely erases the user information, including the keychain, if that is even used.
If it is asking you to do that, can you post a screenshot of the dialog box?
there was another post recently about Guest requesting a keychain password, so there may be some obscure problem with the Guest account. -
UWL: Addtional filter should be shown up as default (Show Filters)
Dear ALL,
In UWL content area (Workitem Table) we have some thing called Show Filters/Hidefilter option. by default the Addtional filters are not shownup in the UWL screen. Once we click show filter then addtional filter fields will be shownup in the UWL Screen.
my requirement is by default(While loading the UWL page/iview) automatically the addtional filters should be shown. can you help me out from this isse.
Regards
SridharHi Sridhar,
Hvae a look at [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/ad/d64842d59fb430e10000000a155106/frameset.htm].
Regards,
krishna -
Inheritance and default tables in 10g
Hello
If I understand correctly versions of the same complextype in 10g is supported through different schema locations for the same namespace.
In this case I can't understand the next situation.
Here is the shema which declares "content" element.
This one is located in "oebs_content_organization_element.xsd" file.
<?xml version="1.0" encoding="windows-1251" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:organization="http://www.rosbank.ru/oebs/content/organization"
targetNamespace="http://www.rosbank.ru/oebs/content/organization"
xmlns:oebs="http://www.rosbank.ru/oebs" elementFormDefault="unqualified"
xmlns:xdb="http://xmlns.oracle.com/xdb">
<xsd:include schemaLocation="oebs_content_organization.xsd"/>
<xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
<xsd:element name="content" type="organization:contentOrganizationType"
substitutionGroup="oebs:contentAbstract" xdb:SQLName="CONTENT_ORGANIZATION"
xdb:defaultTable="CONTENT_ORGANIZATION"/>
</xsd:schema>
And here is the schema which defines a complextype for the "content" element.
This one is located in "oebs_content_organization.xsd" file.
<?xml version="1.0" encoding="windows-1251" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:oebs="http://www.rosbank.ru/oebs"
targetNamespace="http://www.rosbank.ru/oebs/content/organization"
xmlns:appsxx_organization="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v"
elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
<xsd:import namespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v"
schemaLocation="AppsXx_Organization_V.xsd"/>
<xsd:complexType name="contentOrganizationType" xdb:SQLType="CONTENT_ORGANIZATION_T">
<xsd:complexContent>
<xsd:extension base="oebs:contentAbstractType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element name="organization" minOccurs="1" maxOccurs="1" xdb:SQLInline="false"
xdb:defaultTable="ORGANIZATION"
type="appsxx_organization:AppsXx_Organization_V"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
As you can see, a defaultTable for the "organization" element is "ORGANIZATION"
Ok
I insert an instance which satisfies these schemas.
<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
<h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
<time>2008-03-17T09:00:00</time>
</h:header>
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd">
<organization>
<org_structure_version_id>1</org_structure_version_id>
</organization>
</c:content>
And after that I check where my instance is located.
select count(*) from "ORGANIZATION";
COUNT(*)
1
Ok, all right.You can also do it this way
SQL> --
SQL> connect sys/ as sysdba
Connected.
SQL> set define on
SQL> set timing on
SQL> --
SQL> define USERNAME = ROSBANK
SQL> --
SQL> def PASSWORD = ROSBANK
SQL> --
SQL> def USER_TABLESPACE = USERS
SQL> --
SQL> def TEMP_TABLESPACE = TEMP
SQL> --
SQL> def DIRECTORY_PATH = &1
SQL> --
SQL> drop user &USERNAME cascade
2 /
old 1: drop user &USERNAME cascade
new 1: drop user ROSBANK cascade
User dropped.
Elapsed: 00:00:06.40
SQL> grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
2 /
old 1: grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
new 1: grant create any directory, drop any directory, connect, resource, alter session, create view to ROSBANK identified by ROSBANK
Grant succeeded.
Elapsed: 00:00:00.04
SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
2 /
old 1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
new 1: alter user ROSBANK default tablespace USERS temporary tablespace TEMP
User altered.
Elapsed: 00:00:00.00
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> alter session set events ='19027 trace name context forever, level 0x800'
2 /
Session altered.
Elapsed: 00:00:00.00
SQL> call xdb_utilities.createHomeFolder()
2 /
Call completed.
Elapsed: 00:00:00.34
SQL> create or replace directory XMLDIR as '&DIRECTORY_PATH'
2 /
old 1: create or replace directory XMLDIR as '&DIRECTORY_PATH'
new 1: create or replace directory XMLDIR as 'C:\xdb\bugs\6933516'
Directory created.
Elapsed: 00:00:00.00
SQL> var oebs CLOB
SQL> var oebs_header CLOB
SQL> var oebs_header_element CLOB
SQL> var oebs_content_organization CLOB
SQL> var oebs_content_organization2 CLOB
SQL> var oebs_content_organization_elem CLOB
SQL> var oebs_content_organization_e2 CLOB
SQL> var JDBCASI CLOB
SQL> VAR AppsXx_Organization_V CLOB
SQL>
SQL> --
SQL> begin
2 :AppsXx_Organization_V :=
3 '<?xml version="1.0" encoding="UTF-8"?>
4 <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:appsxx_organization_v="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v" xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata" targetNamespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v">
5 <import namespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata" schemaLocation="JDBCASI.xsd"/>
6 <annotation>
7 <appinfo source="commonj.connector.asi">
8 <asi:annotationSet xmlns:asi="commonj.connector.asi" asiNSURI="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata"/>
9 </appinfo>
10 </annotation>
11 <complexType name="AppsXx_Organization_V">
12 <annotation>
13 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
14 <jdbcasi:JDBCBusinessObjectTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
15 <jdbcasi:TableName>APPS.XX_ORGANIZATION_V</jdbcasi:TableName>
16 </jdbcasi:JDBCBusinessObjectTypeMetadata>
17 </appinfo>
18 </annotation>
19 <sequence minOccurs="1" maxOccurs="1">
20 <element name="org_structure_version_id" type="string" minOccurs="0" maxOccurs="1">
21 <annotation>
22 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
23 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
24 <jdbcasi:ColumnName>ORG_STRUCTURE_VERSION_ID</jdbcasi:ColumnName>
25 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
26 </jdbcasi:JDBCAttributeTypeMetadata>
27 </appinfo>
28 </annotation>
29 </element>
30 <element name="organization_id" type="string" minOccurs="0" maxOccurs="1">
31 <annotation>
32 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
33 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
34 <jdbcasi:ColumnName>ORGANIZATION_ID</jdbcasi:ColumnName>
35 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
36 </jdbcasi:JDBCAttributeTypeMetadata>
37 </appinfo>
38 </annotation>
39 </element>
40 <element name="organization_id_hrom" type="string" minOccurs="0" maxOccurs="1">
41 <annotation>
42 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
43 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
44 <jdbcasi:ColumnName>ORGANIZATION_ID_HROM</jdbcasi:ColumnName>
45 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
46 </jdbcasi:JDBCAttributeTypeMetadata>
47 </appinfo>
48 </annotation>
49 </element>
50 <element name="organization_id_parent_hrom" type="string" minOccurs="0" maxOccurs="1">
51 <annotation>
52 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
53 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
54 <jdbcasi:ColumnName>ORGANIZATION_ID_PARENT_HROM</jdbcasi:ColumnName>
55 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
56 </jdbcasi:JDBCAttributeTypeMetadata>
57 </appinfo>
58 </annotation>
59 </element>
60 <element name="event_name" type="string" minOccurs="0" maxOccurs="1">
61 <annotation>
62 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
63 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
64 <jdbcasi:ColumnName>EVENT_NAME</jdbcasi:ColumnName>
65 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
66 </jdbcasi:JDBCAttributeTypeMetadata>
67 </appinfo>
68 </annotation>
69 </element>
70 <element name="org_name" type="string" minOccurs="0" maxOccurs="1">
71 <annotation>
72 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
73 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
74 <jdbcasi:ColumnName>ORG_NAME</jdbcasi:ColumnName>
75 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
76 </jdbcasi:JDBCAttributeTypeMetadata>
77 </appinfo>
78 </annotation>
79 </element>
80 <element name="date_from" type="string" minOccurs="0" maxOccurs="1">
81 <annotation>
82 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
83 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
84 <jdbcasi:ColumnName>DATE_FROM</jdbcasi:ColumnName>
85 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
86 </jdbcasi:JDBCAttributeTypeMetadata>
87 </appinfo>
88 </annotation>
89 </element>
90 <element name="date_to" type="string" minOccurs="0" maxOccurs="1">
91 <annotation>
92 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
93 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
94 <jdbcasi:ColumnName>DATE_TO</jdbcasi:ColumnName>
95 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
96 </jdbcasi:JDBCAttributeTypeMetadata>
97 </appinfo>
98 </annotation>
99 </element>
100 <element name="organization_id_parent" type="string" minOccurs="0" maxOccurs="1">
101 <annotation>
102 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
103 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
104 <jdbcasi:ColumnName>ORGANIZATION_ID_PARENT</jdbcasi:ColumnName>
105 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
106 </jdbcasi:JDBCAttributeTypeMetadata>
107 </appinfo>
108 </annotation>
109 </element>
110 <element name="organization_code" type="string" minOccurs="0" maxOccurs="1">
111 <annotation>
112 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
113 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
114 <jdbcasi:ColumnName>ORGANIZATION_CODE</jdbcasi:ColumnName>
115 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
116 </jdbcasi:JDBCAttributeTypeMetadata>
117 </appinfo>
118 </annotation>
119 </element>
120 <element name="organization_type" type="string" minOccurs="0" maxOccurs="1">
121 <annotation>
122 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
123 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
124 <jdbcasi:ColumnName>ORGANIZATION_TYPE</jdbcasi:ColumnName>
125 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
126 </jdbcasi:JDBCAttributeTypeMetadata>
127 </appinfo>
128 </annotation>
129 </element>
130 <element name="max_last_update_date" type="string" minOccurs="0" maxOccurs="1">
131 <annotation>
132 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
133 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
134 <jdbcasi:ColumnName>MAX_LAST_UPDATE_DATE</jdbcasi:ColumnName>
135 <jdbcasi:PrimaryKey>false</jdbcasi:PrimaryKey>
136 </jdbcasi:JDBCAttributeTypeMetadata>
137 </appinfo>
138 </annotation>
139 </element>
140 <element name="p_union_par" type="string" minOccurs="0" maxOccurs="1">
141 <annotation>
142 <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
143 <jdbcasi:JDBCAttributeTypeMetadata xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata">
144 <jdbcasi:ColumnName>P_UNION_PAR</jdbcasi:ColumnName>
145 <jdbcasi:PrimaryKey>true</jdbcasi:PrimaryKey>
146 </jdbcasi:JDBCAttributeTypeMetadata>
147 </appinfo>
148 </annotation>
149 </element>
150 </sequence>
151 </complexType>
152 </schema>
153 ';
154
155 :JDBCASI :=
156 '<?xml version="1.0" encoding="UTF-8"?>
157 <schema targetNamespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata" xmlns:jdbcasi="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:botm="http://www.ibm.com/wbi/BusinessObjectMetadata" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
158 <simpleType name="OrderingScheme">
159 <restriction base="string">
160 <enumeration value=""/>
161 <enumeration value="implicit"/>
162 <enumeration value="visual"/>
163 </restriction>
164 </simpleType>
165 <simpleType name="Orientation">
166 <restriction base="string">
167 <enumeration value=""/>
168 <enumeration value="LTR"/>
169 <enumeration value="RTL"/>
170 <enumeration value="contextual_LTR"/>
171 <enumeration value="contextual_RTL"/>
172 </restriction>
173 </simpleType>
174 <simpleType name="TrueFalse">
175 <restriction base="string">
176 <enumeration value=""/>
177 <enumeration value="true"/>
178 <enumeration value="false"/>
179 </restriction>
180 </simpleType>
181 <simpleType name="NumeralShapes">
182 <restriction base="string">
183 <enumeration value=""/>
184 <enumeration value="nominal"/>
185 <enumeration value="national"/>
186 <enumeration value="contextual"/>
187 </restriction>
188 </simpleType>
189 <simpleType name="TextShapes">
190 <restriction base="string">
191 <enumeration value=""/>
192 <enumeration value="nominal"/>
193 <enumeration value="shaped"/>
194 <enumeration value="initial"/>
195 <enumeration value="middle"/>
196 <enumeration value="final"/>
197 <enumeration value="isolated"/>
198 </restriction>
199 </simpleType>
200 <complexType name="Bi_DirectionStringTD">
201 <sequence minOccurs="1" maxOccurs="1">
202 <element name="orderingScheme" type="jdbcasi:OrderingScheme"/>
203 <element name="orientation" type="jdbcasi:Orientation"/>
204 <element name="symmetricSwapping" type="jdbcasi:TrueFalse"/>
205 <element name="numeralShapes" type="jdbcasi:NumeralShapes"/>
206 <element name="textShape" type="jdbcasi:TextShapes"/>
207 </sequence>
208 </complexType>
209 <simpleType name="SpecString">
210 <restriction base="string">
211 <enumeration value="NORMAL_STRING"/>
212 <enumeration value="JDBC_URL_SQL"/>
213 <enumeration value="SAP_WHERE_CLAUSE"/>
214 </restriction>
215 </simpleType>
216 <complexType name="BiDiContext">
217 <sequence minOccurs="0" maxOccurs="1">
218 <element name="BiDiEIS" type="jdbcasi:Bi_DirectionStringTD" minOccurs="0"/>
219 <element name="BiDiMetadata" type="jdbcasi:Bi_DirectionStringTD" minOccurs="0"/>
220 <element name="BiDiSkip" type="jdbcasi:TrueFalse" minOccurs="0"/>
221 <element name="BiDiSpecFormat" type="jdbcasi:SpecString" minOccurs="0"/>
222 </sequence>
223 </complexType>
224 <complexType name="AttrBiDiContext">
225 <sequence minOccurs="0" maxOccurs="1">
226 <element name="BiDiMetadata" type="jdbcasi:Bi_DirectionStringTD" minOccurs="0"/>
227 <element name="BiDiSkip" type="jdbcasi:TrueFalse" minOccurs="0"/>
228 <element name="BiDiSpecFormat" type="jdbcasi:SpecString" minOccurs="0"/>
229 </sequence>
230 </complexType>
231 <complexType name="JDBCBusinessObjectTypeMetadata">
232 <sequence minOccurs="0" maxOccurs="1">
233 <element name="TableName" type="string"/>
234 <element name="BiDiContextTableName" type="jdbcasi:AttrBiDiContext"/>
235 <element name="StatusColumnName" type="string"/>
236 <element name="BiDiContextStatusColumnName" type="jdbcasi:AttrBiDiContext"/>
237 <element name="SPName" type="string" minOccurs="0"/>
238 <element name="BiDiContextSPName" type="jdbcasi:AttrBiDiContext"/>
239 <element name="ResultSet" type="boolean" minOccurs="0"/>
240 <element name="MaxNumOfRetRS" type="integer" minOccurs="0"/>
241 <element name="ReturnValue" type="string" minOccurs="0"/>
242 <element name="SelectStatement" type="string" minOccurs="0"/>
243 <element name="BiDiContextSelectStatement" type="jdbcasi:AttrBiDiContext"/>
244 <element name="StatusValue" type="string" minOccurs="0"/>
245 <element name="Operation" type="jdbcasi:JDBCOperationTypeMetadata" minOccurs="0" maxOccurs="unbounded"/>
246 <element name="BiDiContext" type="jdbcasi:BiDiContext"/>
247 </sequence>
248 </complexType>
249 <complexType name="JDBCOperationTypeMetadata">
250 <sequence minOccurs="0" maxOccurs="1">
251 <element name="Name" type="string"/>
252 <element name="StoredProcedures" type="jdbcasi:StoredProcedureDefn" minOccurs="0" maxOccurs="unbounded"/>
253 </sequence>
254 </complexType>
255 <complexType name="StoredProcedureDefn">
256 <sequence minOccurs="0" maxOccurs="1">
257 <element name="StoredProcedureType" type="string"/>
258 <element name="StoredProcedureName" type="string"/>
259 <element name="BiDiContextStoredProcedureName" type="jdbcasi:AttrBiDiContext"/>
260 <element name="ResultSet" type="boolean"/>
261 <element name="ReturnValue" type="string" minOccurs="0"/>
262 <element name="Parameters" type="jdbcasi:ParameterPair" minOccurs="0" maxOccurs="unbounded"/>
263 </sequence>
264 </complexType>
265 <simpleType name="ParameterType">
266 <restriction base="string">
267 <enumeration value="IP"/>
268 <enumeration value="IO"/>
269 <enumeration value="OP"/>
270 <enumeration value="RS"/>
271 </restriction>
272 </simpleType>
273 <simpleType name="ChildBOParameterType">
274 <restriction base="string">
275 <enumeration value="Struct"/>
276 <enumeration value="Array"/>
277 <enumeration value="ResultSet"/>
278 </restriction>
279 </simpleType>
280 <simpleType name="DateTypeTransfer">
281 <restriction base="string">
282 <enumeration value="Time"/>
283 <enumeration value="Date"/>
284 <enumeration value="TimeStamp"/>
285 </restriction>
286 </simpleType>
287 <complexType name="ParameterPair">
288 <sequence minOccurs="1" maxOccurs="1">
289 <element name="Type" type="jdbcasi:ParameterType"/>
290 <element name="PropertyName" type="string"/>
291 <element name="BiDiContextPropertyName" type="jdbcasi:AttrBiDiContext"/>
292 </sequence>
293 </complexType>
294 <complexType name="JDBCAttributeTypeMetadata">
295 <sequence minOccurs="1" maxOccurs="1">
296 <element name="ColumnName" type="string" minOccurs="0"/>
297 <element name="BiDiContextColumnName" type="jdbcasi:AttrBiDiContext" minOccurs="0"/>
298 <element name="PrimaryKey" type="boolean" minOccurs="0"/>
299 <element name="ForeignKey" type="string" minOccurs="0"/>
300 <element name="OrderBy" type="string" minOccurs="0"/>
301 <element name="FixedChar" type="string" minOccurs="0"/>
302 <element name="KeepRelationship" type="boolean" minOccurs="0"/>
303 <element name="Ownership" type="boolean" minOccurs="0"/>
304 <element name="UID" type="string" minOccurs="0"/>
305 <element name="ByteArray" type="boolean" minOccurs="0"/>
306 <element name="DateType" type="jdbcasi:DateTypeTransfer" minOccurs="0"/>
307 <element name="BLOB" type="boolean" minOccurs="0"/>
308 <element name="CLOB" type="boolean" minOccurs="0"/>
309 <element name="SPParameterType" type="jdbcasi:ParameterType" minOccurs="0"/>
310 <element name="ChildBOType" type="jdbcasi:ChildBOParameterType" minOccurs="0"/>
311 <element name="BiDiContext" type="jdbcasi:BiDiContext" minOccurs="0"/>
312 <element name="ChildBOTypeName" type="string" minOccurs="0"/>
313 </sequence>
314 </complexType>
315 </schema>
316 ';
317 :OEBS :=
318 '<?xml version="1.0" encoding="UTF-8"?>
319 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oebs="http://www.rosbank.ru/oebs" targetNamespace="http://www.rosbank.ru/oebs" elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
320 <xsd:complexType name="rootType" xdb:SQLType="ROOT_T">
321 <xsd:sequence minOccurs="1" maxOccurs="1">
322 <xsd:element minOccurs="0" maxOccurs="1" ref="oebs:headerAbstract"/>
323 <xsd:element minOccurs="0" maxOccurs="1" ref="oebs:contentAbstract" xdb:SQLInline="false" xdb:defaultTable="CONTENT"/>
324 </xsd:sequence>
325 </xsd:complexType>
326 <xsd:complexType name="headerAbstractType" xdb:SQLType="HEADERABSTRACT_T" abstract="true"/>
327 <xsd:complexType name="contentAbstractType" xdb:SQLType="CONTENTABSTRACT_T" abstract="true"/>
328 <xsd:element name="root" type="oebs:rootType" xdb:defaultTable="OEBS"/>
329 <xsd:element name="headerAbstract" abstract="true" xdb:SQLName="HEADER" type="oebs:headerAbstractType" xdb:defaultTable=""/>
330 <xsd:element name="contentAbstract" abstract="true" xdb:SQLName="CONTENT" type="oebs:contentAbstractType" xdb:defaultTable=""/>
331 </xsd:schema>';
332
333 :oebs_header :=
334 '<?xml version="1.0" encoding="windows-1251"?>
335 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:header="http://www.rosbank.ru/oebs/header" targetNamespace="http://www.rosbank.ru/oebs/header" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="unqualified">
336 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
337 <xsd:complexType name="headerType" xdb:SQLType="HEADER_T">
338 <xsd:complexContent>
339 <xsd:extension base="oebs:headerAbstractType">
340 <xsd:sequence minOccurs="1" maxOccurs="1">
341 <xsd:element name="time" type="xsd:dateTime" minOccurs="1" maxOccurs="1" xdb:SQLType="TIMESTAMP WITH TIME ZONE"/>
342 </xsd:sequence>
343 </xsd:extension>
344 </xsd:complexContent>
345 </xsd:complexType>
346 </xsd:schema>
347 ';
348
349 :oebs_header_element :=
350 '<?xml version="1.0" encoding="windows-1251"?>
351 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:header="http://www.rosbank.ru/oebs/header" targetNamespace="http://www.rosbank.ru/oebs/header" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:oebs="http://www.rosbank.ru/oebs" elementFormDefault="unqualified">
352 <xsd:include schemaLocation="oebs_header.xsd"/>
353 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
354 <xsd:element name="header" xdb:SQLName="HEADER" substitutionGroup="oebs:headerAbstract" type="header:headerType" xdb:defaultTable=""/>
355 </xsd:schema>
356 ';
357
358 :oebs_content_organization :=
359 '<?xml version="1.0" encoding="windows-1251"?>
360 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oebs="http://www.rosbank.ru/oebs" targetNamespace="http://www.rosbank.ru/oebs/content/organization" xmlns:appsxx_organization="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v" elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb">
361 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
362 <xsd:import namespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v" schemaLocation="AppsXx_Organization_V.xsd"/>
363 <xsd:complexType name="contentOrganizationType" xdb:SQLType="CONTENTORGANIZATION_T">
364 <xsd:complexContent>
365 <xsd:extension base="oebs:contentAbstractType">
366 <xsd:sequence minOccurs="1" maxOccurs="1">
367 <xsd:element name="organization" minOccurs="1" maxOccurs="1" type="appsxx_organization:AppsXx_Organization_V"/>
368 </xsd:sequence>
369 </xsd:extension>
370 </xsd:complexContent>
371 </xsd:complexType>
372 </xsd:schema>
373 ';
374
375 :oebs_content_organization2 :=
376 '<?xml version="1.0" encoding="windows-1251"?>
377 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oebs="http://www.rosbank.ru/oebs" targetNamespace="http://www.rosbank.ru/oebs/content/organization" xmlns:appsxx_organization="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v" elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb">
378 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
379 <xsd:import namespace="http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc/appsxx_organization_v" schemaLocation="AppsXx_Organization_V_v2.0.xsd"/>
380 <xsd:complexType name="contentOrganizationType" xdb:SQLType="CONTENT_ORGANIZATION_V2_0_T">
381 <xsd:complexContent>
382 <xsd:extension base="oebs:contentAbstractType">
383 <xsd:sequence minOccurs="1" maxOccurs="1">
384 <xsd:element name="organization" minOccurs="1" maxOccurs="1" type="appsxx_organization:AppsXx_Organization_V"/>
385 </xsd:sequence>
386 </xsd:extension>
387 </xsd:complexContent>
388 </xsd:complexType>
389 </xsd:schema>';
390
391 :oebs_content_organization_element :=
392 '<?xml version="1.0" encoding="windows-1251"?>
393 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:organization="http://www.rosbank.ru/oebs/content/organization" targetNamespace="http://www.rosbank.ru/oebs/content/organization" xmlns:oebs="http://www.rosbank.ru/oebs" elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb">
394 <xsd:include schemaLocation="oebs_content_organization.xsd"/>
395 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
396 <xsd:element name="content" type="organization:contentOrganizationType" substitutionGroup="oebs:contentAbstract" xdb:SQLName="CONTENTORGANIZATION" xdb:defaultTable=""/>
397 </xsd:schema>
398 ';
399
400 :oebs_content_organization_e2 :=
401 '<?xml version="1.0" encoding="windows-1251"?>
402 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:organization="http://www.rosbank.ru/oebs/content/organization" targetNamespace="http://www.rosbank.ru/oebs/content/organization" xmlns:oebs="http://www.rosbank.ru/oebs" elementFormDefault="unqualified" xmlns:xdb="http://xmlns.oracle.com/xdb">
403 <xsd:include schemaLocation="oebs_content_organization_v2.0.xsd"/>
404 <xsd:import schemaLocation="oebs.xsd" namespace="http://www.rosbank.ru/oebs"/>
405 <xsd:element name="content" type="organization:contentOrganizationType" substitutionGroup="oebs:contentAbstract" xdb:SQLName="CONTENT_ORGANIZATION" xdb:defaultTable=""/>
406 </xsd:schema>';
407
408 end;
409 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.04
SQL> begin
2 dbms_xmlschema.registerSchema
3 (
4 schemaurl => 'JDBCASI.xsd'
5 ,schemadoc => :JDBCASI
6 ,local => TRUE
7 ,genBean => false
8 ,genTypes => TRUE
9 ,genTables => TRUE
10 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
11 );
12 dbms_xmlschema.registerSchema
13 (
14 schemaurl => 'AppsXx_Organization_V.xsd'
15 ,schemadoc => :AppsXx_Organization_V
16 ,local => TRUE
17 ,genBean => false
18 ,genTypes => TRUE
19 ,genTables => TRUE
20 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
21 );
22
23 dbms_xmlschema.registerSchema
24 (
25 schemaurl => 'oebs.xsd'
26 ,schemadoc => :OEBS
27 ,local => TRUE
28 ,genBean => false
29 ,genTypes => TRUE
30 ,genTables => TRUE
31 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
32 );
33 dbms_xmlschema.registerSchema
34 (
35 schemaurl => 'oebs_header.xsd'
36 ,schemadoc => :oebs_header
37 ,local => TRUE
38 ,genBean => false
39 ,genTypes => TRUE
40 ,genTables => TRUE
41 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
42 );
43 dbms_xmlschema.registerSchema
44 (
45 schemaurl => 'oebs_header_element.xsd'
46 ,schemadoc => :oebs_header_element
47 ,local => TRUE
48 ,genBean => false
49 ,genTypes => TRUE
50 ,genTables => TRUE
51 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
52 );
53
54 dbms_xmlschema.registerSchema
55 (
56 schemaurl => 'AppsXx_Organization_V_v2.0.xsd'
57 ,schemadoc => :AppsXx_Organization_V
58 ,local => TRUE
59 ,genBean => false
60 ,genTypes => TRUE
61 ,genTables => TRUE
62 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
63 );
64 dbms_xmlschema.registerSchema
65 (
66 schemaurl => 'oebs_content_organization.xsd'
67 ,schemadoc => :oebs_content_organization
68 ,local => TRUE
69 ,genBean => false
70 ,genTypes => TRUE
71 ,genTables => TRUE
72 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
73 );
74 dbms_xmlschema.registerSchema
75 (
76 schemaurl => 'oebs_content_organization_element.xsd'
77 ,schemadoc => :oebs_content_organization_elem
78 ,local => TRUE
79 ,genBean => false
80 ,genTypes => TRUE
81 ,genTables => TRUE
82 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
83 );
84
85 dbms_xmlschema.registerSchema
86 (
87 schemaurl => 'oebs_content_organization_v2.0.xsd'
88 ,schemadoc => :oebs_content_organization2
89 ,local => TRUE
90 ,genBean => false
91 ,genTypes => TRUE
92 ,genTables => TRUE
93 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
94 );
95
96 dbms_xmlschema.registerSchema
97 (
98 schemaurl => 'oebs_content_organization_element_v2.0.xsd'
99 ,schemadoc => :oebs_content_organization_e2
100 ,local => TRUE
101 ,genBean => false
102 ,genTypes => TRUE
103 ,genTables => TRUE
104 ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
105 );
106 end;
107 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:03.34
SQL> select TABLE_NAME, XMLSCHEMA, ELEMENT_NAME
2 from USER_XML_TABLES
3 /
OEBS
oebs.xsd
root
CONTENT
oebs.xsd
contentAbstract
Elapsed: 00:00:02.01
SQL> VAR INSTANCE CLOB
SQL> --
SQL> begin
2 :INSTANCE :=
3 '<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
4 <h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
5 <time>2008-03-17T09:00:00</time>
6 </h:header>
7 <c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd">
8 <organization>
9 <org_structure_version_id>1</org_structure_version_id>
10 </organization>
11 </c:content>
12 </oebs:root>';
13 end;
14 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
SQL> call dbms_xdb.deleteResource('/home/ROSBANK/testcase1.xml',4)
2 /
Call completed.
Elapsed: 00:00:00.04
SQL> declare
2 res boolean;
3 begin
4 res := dbms_xdb.createResource('/home/ROSBANK/testcase1.xml',:INSTANCE);
5 end;
6 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.07
SQL> select count(*)
2 from OEBS
3 /
1
Elapsed: 00:00:00.01
SQL> select count(*)
2 from CONTENT
3 /
1
Elapsed: 00:00:00.00
SQL> select *
2 from OEBS
3 /
<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
<h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
<time>2008-03-17T09:00:00.000000+00:00</time>
</h:header>
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd">
<organization>
<org_structure_version_id>1</org_structure_version_id>
</organization>
</c:content>
</oebs:root>
Elapsed: 00:00:00.04
SQL> begin
2 :INSTANCE :=
3 '<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
4 <h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
5 <time>2008-03-17T09:00:00</time>
6 </h:header>
7 <c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element_V2.0.xsd">
8 <organization>
9 <org_structure_version_id>1</org_structure_version_id>
10 </organization>
11 </c:content>
12 </oebs:root>';
13 end;
14 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SQL> call dbms_xdb.deleteResource('/home/ROSBANK/testcase2.xml',4)
2 /
Call completed.
Elapsed: 00:00:00.03
SQL> declare
2 res boolean;
3 begin
4 res := dbms_xdb.createResource('/home/ROSBANK/testcase2.xml',:INSTANCE);
5 end;
6 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SQL> select count(*)
2 from OEBS
3 /
2
Elapsed: 00:00:00.00
SQL> select count(*)
2 from CONTENT
3 /
2
Elapsed: 00:00:00.00
SQL> select *
2 from OEBS
3 /
<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
<h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
<time>2008-03-17T09:00:00.000000+00:00</time>
</h:header>
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd">
<organization>
<org_structure_version_id>1</org_structure_version_id>
</organization>
</c:content>
</oebs:root>
<oebs:root xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rosbank.ru/oebs oebs.xsd">
<h:header xmlns:h="http://www.rosbank.ru/oebs/header" xsi:schemaLocation="http://www.rosbank.ru/oebs/header oebs_header_element.xsd">
<time>2008-03-17T09:00:00.000000+00:00</time>
</h:header>
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element_V2.0.xsd">
<organization>
<org_structure_version_id>1</org_structure_version_id>
</organization>
</c:content>
</oebs:root>
Elapsed: 00:00:00.03
SQL> select *
2 from CONTENT
3 /
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd">
<organization>
<org_structure_version_id>1</org_structure_version_id>
</organization>
</c:content>
<c:content xmlns:c="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element_V2.0.xsd">
<organization>
<org_structure_version_ -
Should whitespace be preserved by default?
Hi:
I'm using xmltype.transform() to apply a stylesheet to an XML document and it seems to be ignoring whatever attempts I make to have spaces in certain places. Is the default to strip spaces out? I've even tried adding preserve-whitespace in the stylesheet though I think it may be deprecated. This didn't fix things either.
Here's the procedure that loads the data and applies the transform.
PROCEDURE GetSQLQueryFromXML(XMLClob in CLOB, XSLStylesheet in CLOB,
SQLQuery out CLOB) IS
-- Define the local variables
xmldata sys.XMLType ; -- The XMLType format of the XML to transform
xsldata sys.XMLType ; -- The XMLType format of the stylesheet to apply
sqlQuery_XMLType sys.XMLType ; -- The XMLType format of the SQL query.
--v_SQLQuery Clob; -- Holds XML Clob
BEGIN
-- Get the XML document using the getXML() function defined in the database.
-- Since XMLType.transform() method takes XML data as XMLType instance,
-- use the XMLType.createXML method to convert the XML content received
-- as CLOB into an XMLType instance.
xmldata := XMLType.createXML(XMLClob);
-- Since XMLType.transform() method takes an XSL stylesheet as XMLType instance,
-- use the XMLType.createXML method to convert the XSL content received as CLOB
-- into an XMLType instance.
xsldata := XMLType.createXML(XSLStylesheet);
-- Use the XMLtype.transform() function to get the transformed XML instance.
-- This function applies the stylesheet to the XML document and returns a transformed
-- XML instance.
-- DBMS_XMLGEN.CONVERT() is being used as a work around to an Oracle bug that
-- prevented us from being able to surround text strings with apostrophes for
-- searches. dbms_xlmgen.convert returns a Clob which is what we want anyway.
-- The bug is supposedly fixed in Oracle 11g.
if(xmldata is null) then
dbms_output.put_line('*** xmldata is null!!!');
end if;
if(xsldata is null) then
dbms_output.put_line('*** xsldata is null!!!');
end if;
SQLQuery := dbms_xmlgen.convert(xmldata.transform(xsldata).getStringVal(),
dbms_xmlgen.ENTITY_DECODE);
END GetSQLQueryFromXML;What I'm trying to do is transform some XML into a SQL query string. I'm losing whitespace though so in certain cases (using LIKE or NOT LIKE) it generates improper SQL. This isn't an Oracle XML thing because I get the same error when working in a "playground" site. ( http://www.paulchaplin.com/lab/xslt/ pretty handy!)
My test XML file is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<variable type="QueryContent">
<queryType><![CDATA[PERSON]]></queryType>
<tableName><![CDATA[PERSON]]></tableName>
<queryItem>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[PERSON_KEY]]></columnName>
<fieldName><![CDATA[PERSON_KEY]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[INTEGER]]></fieldType>
<value><![CDATA[8901234]]></value>
</item>
<item>
<distinct><![CDATA[true]]></distinct>
<columnName><![CDATA[LAST_NAME]]></columnName>
<fieldName><![CDATA[LAST_NAME]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[SMITH]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[FIRST_NAME]]></columnName>
<fieldName><![CDATA[FIRST_NAME]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[JANE]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[MIDDLE_NAME]]></columnName>
<fieldName><![CDATA[MIDDLE_NAME]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[MIDNAME]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[SUFFIX_NAME]]></columnName>
<fieldName><![CDATA[SUFFIX_NAME]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[MS]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[FULL_NAME]]></columnName>
<fieldName><![CDATA[FULL_NAME]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[SMITH, JANE]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[EMPLOYER_ORG_CODE]]></columnName>
<fieldName><![CDATA[EMPLOYER_ORG_CODE]]></fieldName>
<criteria></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value />
</item>
<item>
<distinct><![CDATA[true]]></distinct>
<columnName><![CDATA[SSN]]></columnName>
<fieldName><![CDATA[SSN]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[222222222]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[GRADE_CODE]]></columnName>
<fieldName><![CDATA[GRADE_CODE]]></fieldName>
<criteria></criteria>
<fieldType><![CDATA[PICKLIST]]></fieldType>
<value/>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[POB_CITY]]></columnName>
<fieldName><![CDATA[POB_CITY]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[PASCAGOULA]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[POB_COUNTY]]></columnName>
<fieldName><![CDATA[POB_COUNTY]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[JACKSON]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[POB_STATE_CODE]]></columnName>
<fieldName><![CDATA[POB_STATE_CODE]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[PICKLIST]]></fieldType>
<value><![CDATA[MS]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[POB_COUNTRY_CODE]]></columnName>
<fieldName><![CDATA[POB_COUNTRY_CODE]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[USA]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[BIRTH_DATE]]></columnName>
<fieldName><![CDATA[BIRTH_DATE]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[DATE]]></fieldType>
<fieldFormat>DD-MON-YYYY</fieldFormat>
<value><![CDATA[11-NOV-1911]]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[SX]]></columnName>
<fieldName><![CDATA[SX]]></fieldName>
<criteria><![CDATA[=]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[F]]></value>
</item>
<item>
<distinct><![CDATA[true]]></distinct>
<columnName><![CDATA[SITE_CODE]]></columnName>
<fieldName><![CDATA[SITE_CODE]]></fieldName>
<criteria><![CDATA[NOT LIKE]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA]></value>
</item>
<item>
<distinct><![CDATA[false]]></distinct>
<columnName><![CDATA[JOB_TITLE]]></columnName>
<fieldName><![CDATA[JOB_TITLE]]></fieldName>
<criteria><![CDATA[LIKE]]></criteria>
<fieldType><![CDATA[STRING]]></fieldType>
<value><![CDATA[CLERK]]></value>
</item>
</queryItem>
</variable>
My XSL file is:<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
<!-- IF there are any column flagged as distinct, we'll be doing selecting -->
<!-- just those columns with DISTINCT from the general query. -->
<!-- Generate the DISTINCT outer query first, if there is one. Then generate -->
<!-- the query that will always be generated. Then close the outer query if -->
<!-- there is one. -->
<xsl:preserve-space elements="*" />
<xsl:variable name="aspace"> </xsl:variable>
<xsl:template match="/">
<xsl:apply-templates select="." mode="distincts"/>
<xsl:apply-templates select="." mode="normal"/>
<xsl:apply-templates select="." mode="closeDistincts"/>
</xsl:template>
<!-- If there are any column flagged with DISTINCT we'll create an outer query -->
<xsl:template match="/" mode="distincts">
<xsl:for-each select="/variable/queryItem/item/distinct[text() = 'true']">
<xsl:variable name="distinctCount" select="position()" />
<xsl:if test="$distinctCount = 1">
<xsl:text>SELECT DISTINCT </xsl:text>
</xsl:if>
<xsl:if test="$distinctCount > 1">
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:value-of select="../columnName"/>
</xsl:for-each>
<!-- If we had any DISTINCT elements, generate the "FROM (" clause. -->
<xsl:if test="count(/variable/queryItem/item/distinct[text() = 'true']) > 0">
<xsl:text> FROM (</xsl:text>
</xsl:if>
</xsl:template>
<!-- If we did a DISTINCT outer query then we need to close it with a ')' -->
<xsl:template match="/" mode="closeDistincts">
<xsl:for-each select="/variable/queryItem/item/distinct[text() = 'true']">
<xsl:variable name="distinctCount" select="position()" />
<xsl:if test="$distinctCount < 2">
<xsl:text>) </xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
<!-- This will generate a query. It may or not be an inner query. -->
<xsl:template match="/" mode="normal">
<xsl:variable name="apos">'</xsl:variable>
select * from
<xsl:value-of select="/variable/tableName"/>
where 1=1
<xsl:for-each select="variable/queryItem/item">
<xsl:choose>
<!-- if the value node is not null... -->
<!-- <xsl:when test="./value/text()[normalize-space(.)]"> -->
<xsl:when test="./value/text()">
AND
<xsl:value-of select="./fieldName"/>
<xsl:copy-of select="$aspace"/><xsl:value-of select="./criteria"/><xsl:copy-of select="$aspace"/>
<xsl:choose>
<xsl:when test="string(./fieldType)='NUMBER'">
<xsl:value-of select="./value"/>
</xsl:when>
<xsl:when test="string(./fieldType)='INTEGER'">
<xsl:value-of select="./value"/>
</xsl:when>
<xsl:otherwise>
<!-- Type is something that we treat as a string compare. -->
<!-- Currently those types are String, CLOB, RADIO and PICKLIST -->
<xsl:copy-of select="$apos"/>
<xsl:value-of select="./value"/>
<xsl:copy-of select="$apos"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Not how the last two predicates need spaces around the operators. It doesn't matter when the operator is "=" or ">" but "LIKE" and "NOT LIKE" mess things up when trying to run the generated SQL.SELECT DISTINCT LAST_NAME, SSN, SITE_CODE FROM (
select * from
PERSON
where 1=1
AND
PERSON_KEY=8901234
AND
LAST_NAME='SMITH'
AND
FIRST_NAME='JANE'
AND
MIDDLE_NAME='MIDNAME'
AND
SUFFIX_NAME='MS'
AND
FULL_NAME='SMITH, JANE'
AND
SSN='222222222'
AND
POB_CITY='PASCAGOULA'
AND
POB_COUNTY='JACKSON'
AND
POB_STATE_CODE='MS'
AND
POB_COUNTRY_CODE='USA'
AND
BIRTH_DATE='11-NOV-1911'
AND
SX='F'
AND
SITE_CODENOT LIKE'B'
AND
JOB_TITLELIKE'CLERK')
Thanks.This thread may help : Oracle XSLT Transformation not preserving space in text element [Oracle XSLT Transformation not preserving space in text element: A Workaround]
-
Whats the switch on the 7990 for and what should it be set to ( default )
Hi
Just a quick one, what is the switch for on the 7990 ? and what is the default setting? also are there any other fans that can be fitted to this card that are a bit quieter?
Cheers karlThis is no Lightning card but a reference AMD design card. Bios 1 (default position switch pointing to backplate) is unprotected can be overclocked and modded. Bios 2 (switching towards inside) is a protected non-overclocked backup bios. It is just meant to save the card when bios 1 is corrupted.
There are no replacement silent fans. You'd need to switch to a custom aftermarket cooler but as far as I know there is none except for water cooling solutions. -
Should I make FireFox my default browser?
I'm using Safari 1.3.2 on my system (Panther) & have been running into my important Websites that warn me that I need an updated browser. Safari is not one of their alternatives. It's getting to using other Websites, as well. When I've run into problems with Safari, I've gone to FireFox & things went ok. I've resisted changing from Safari because I like it & have customized it. IOW, I know Safari. But, I'm not about to upgrade to Tiger or Leopard, just to get the most recent version of Safari.
I've reluctantly decided to switch to FF as my default browser, unless any of you can give me a good reason NOT to. I really would like to stick with Safari, because I have to go thru a lengthy process of importing my Safari bookmarks & customizing FF all over, again. FF can't customize, automatically. And, Safari's bookmarks management is much easier to use than FF's.
I'm tired of Apple's wedding its suite of programs to the current OS. IOW, if I want to update Safari, I must invest in a new OS. FF offers a way out of this & I guess I just need to get used to FF.I'm not about to upgrade to Tiger or Leopard, just to get the most recent version of Safari.
If your choice is to remain with an operating system two generations behind, then regrettably you have no alternative. -
Should not happen unless default context failed to deploy
Can somebody please throw some light on this error?
<Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
HTTP/1.0". This should not happen unless the default context failed
to deploy.>
Myself and lot of other people in my team are getting this error
when using beans in a cluster.
I am getting this error consistently whenever I make some code
changes in my bean class (not interface changes) and redeploy it
and try to lookup through a stand-alone client.
The only way I could find to overcome this problem is:
1) edit config.xml to remove the Application element completely
corresponding to the bean
2) remove jar files from the applications directory
3) re-deploy and run the client again.
Thanks a lot
Kiran Ganuthula
Partly it could be WLS problem also. Under any circumstances default webapp should be able
to deploy. I have seen somebody else also reported the same problem. The current problem is
if you delete anything from apps dir, the corresponding entry is not being deleted from config.xml
So next time when you boot the server, it tries to deploy the webapp and eventually it fails.
I 'm not sure if this is the situation in your case.
In anycase somehow Targets tag is not being picking up. That's why i asked you add
"WebServers" tag. I think we have done some major changes in SP1, to make sure that
default webapp deploys all the times.
If you still have problems, post it to servlet or management group, we will discuss there.
Kumar
Kiran G wrote:
> I edited the config.xml ONLY after getting this error. And, it worked.
>
> BTW, can you please be more specific about the changes to config.xml
> to solve the problem?
> If possible, can you give pertinent portion(s) of config.xml, highlighting
> the changes.
>
> Thanks
> Kiran G
>
> Kumar Allamraju <[email protected]> wrote:
> >
> >
> >It appears your "default webapp" failed to deploy.
> >Did you messed up with the config.xml?.
> >
> >Add the following to your default webapp tag?
> >
> ><Application
> > Deployed="true"
> > Name="DefaultWebApp_vindev1"
> > Path="./config/vindev1/applications"
> > >
> > <WebAppComponent
> > Name="DefaultWebApp_vindev1"
> > Targets="vindev1"
> > WebServers="vindev1"
> > URI="DefaultWebApp_vindev1"
> > />
> > </Application>
> >
> >
> >Here vindev1 is my domain's name..
> >
> >BTW, this is not a clustering question. So you better
> >post it to servlet newsgroup where you get much
> >better answers..
> >
> >Kiran G wrote:
> >
> >> I forgot to give these details about the problem.
> >> I am running this cluster using WebLogic 6.0 on a SUN
> >sparc machine.
> >>
> >> The error text given in my original posting appears
> >in the managed
> >> weblogic server's log. The exception that the client
> >receives while
> >> lookup is :
> >>
> >> javax.naming.CommunicationException. Root exception
> >is java.rmi.UnmarshalException:
> >> failed to unmarshal class java.lang.Object; nested exception
> >is:
> >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
> >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
> >>
> >> "Kiran G" <[email protected]> wrote:
> >> >
> >> >Can somebody please throw some light on this error?
> >> >
> >> ><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
> >> >default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
> >> >HTTP/1.0". This should not happen unless the default
> >context
> >> >failed
> >> >to deploy.>
> >> >
> >> >Myself and lot of other people in my team are getting
> >> >this error
> >> >when using beans in a cluster.
> >> >
> >> >I am getting this error consistently whenever I make
> >some
> >> >code
> >> >changes in my bean class (not interface changes) and
> >redeploy
> >> >it
> >> >and try to lookup through a stand-alone client.
> >> >
> >> >The only way I could find to overcome this problem
> >is:
> >> >1) edit config.xml to remove the Application element
> >completely
> >> >corresponding to the bean
> >> >2) remove jar files from the applications directory
> >> >3) re-deploy and run the client again.
> >> >
> >> >Thanks a lot
> >> >Kiran Ganuthula
> >> >
> >> >
> >> >
> >> >
> >> >
> >
> >
> ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> ><html>
> >It appears your "default webapp" failed to deploy.
> ><br>Did you messed up with the config.xml?.
> ><p>Add the following to your default webapp tag?
> ><p><Application
> ><br> Deployed="true"
> ><br> Name="DefaultWebApp_vindev1"
> ><br> Path="./config/vindev1/applications"
> ><br> >
> ><br> <WebAppComponent
> ><br> Name="DefaultWebApp_vindev1"
> ><br> Targets="vindev1"
> ><br> <b><font color="#CC0000">
> >WebServers="vindev1"</font></b>
> ><br> URI="DefaultWebApp_vindev1"
> ><br> />
> ><br> </Application>
> ><br>
> ><p>Here vindev1 is my domain's name..
> ><br><br>
> >BTW, this is not a clustering question. So you better
> >post it to servlet
> >newsgroup where you get much
> ><br>better answers..
> ><p>Kiran G wrote:
> ><blockquote TYPE=CITE>I forgot to give these details about
> >the problem.
> ><br>I am running this cluster using WebLogic 6.0 on a
> >SUN sparc machine.
> ><p>The error text given in my original posting appears
> >in the managed
> ><br>weblogic server's log. The exception that the client
> >receives while
> ><br>lookup is :
> ><p>javax.naming.CommunicationException. Root exception
> >is java.rmi.UnmarshalException:
> ><br>failed to unmarshal class java.lang.Object; nested
> >exception is:
> ><br> java.lang.ClassNotFoundException:
> >RingoutSessionBeanHomeImpl_WLStub
> ><br>java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
> ><p>"Kiran G" <[email protected]> wrote:
> ><br>>
> ><br>>Can somebody please throw some light on this error?
> ><br>>
> ><br>><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP>
> ><HttpServer5173817,null
> ><br>>default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
> ><br>>HTTP/1.0". This should not happen unless the default
> >context
> ><br>>failed
> ><br>>to deploy.>
> ><br>>
> ><br>>Myself and lot of other people in my team are getting
> ><br>>this error
> ><br>>when using beans in a cluster.
> ><br>>
> ><br>>I am getting this error consistently whenever I make
> >some
> ><br>>code
> ><br>>changes in my bean class (not interface changes)
> >and redeploy
> ><br>>it
> ><br>>and try to lookup through a stand-alone client.
> ><br>>
> ><br>>The only way I could find to overcome this problem
> >is:
> ><br>>1) edit config.xml to remove the Application element
> >completely
> ><br>>corresponding to the bean
> ><br>>2) remove jar files from the applications directory
> ><br>>3) re-deploy and run the client again.
> ><br>>
> ><br>>Thanks a lot
> ><br>>Kiran Ganuthula
> ><br>>
> ><br>>
> ><br>>
> ><br>>
> ><br>></blockquote>
> ></html>
> >
> >
[att1.html]
-
Default Domain Policy security settings block inheritance
I know this has been answered in one way but just to clarify, in our case default domain policy contains password security policies, Network security: LAN Manager authentication level, and some
Public Key Policies/Trusted Root
Certification Authorities settings. All of these are on computer settings, user side is disabled and is not Enforced.
Question is that if further down AD there is a inheritance filter applied, would all of the settings form Default domain policies would pass through or just security settings?
I find that they have also linked the default domain policy at OUs where they have put inhetitance filter, probably thinking that they wanted to filter out every other policy but the default domain policy.
Thanks
NSW DECCHi,
>>Question is that if further down AD there is a inheritance filter applied, would all of the settings form Default domain policies would pass through or just security settings?
The default domain policy will be blocked by enabling block inheritance at OU level. As Ramu suggested, we can enforce the default domain policy to prevent it from being blocked.
In addition, regarding this question, the following thread can also be referred to for more information.
Can I block inheritance of "Default Domain Policy"?
http://social.technet.microsoft.com/Forums/en-US/ce5173b8-b803-4e50-b05b-c4a5677bf9ba/can-i-block-inheritance-of-default-domain-policy?forum=winserverGP
Best regards,
Frank Shen -
Default constructor and inheritance
Hi all.
I have a class that represents a contact. A contact object is valid if both name and number have been specified. Otherwise I want to be notified via a dedicated exception.
This is the code:
public class Contact
private String contact[] = new String[2];
public Contact(String name, String number) throws InvalidContactException
setName(name); // a method to set contact[0]
setNumber(number); // a method to set contact[1]
if (isValid()) // a method to check if both name and number have been specified.
throw new InvalidContactException(); // this class inherits from Exception.
// other class methods.
}This is my questions:
As the the constructor public Contact() wouldn't create a valid object, I have omitted it. Is it a good thing? I know that if some new class will extend Contact by inheritance, its default constructor will call the default constructor of super class (Contact), which does not provide one. This probably will cause some kind of error.
Then I thought to provide a such constructor:
public Contact() throws InvalidContactException()
this("", ""); // It asks for a not valid contact.
}I don't feel it's a clean solution, am I following an acceptable way?
Thanks for your attentionI'm not sure what your point is, especially thepart
about "since the JMM is broken, the order cannotbe
guaranteed." Can you be more specific? The JLS is
quite specific on what happens and in what orderwhen
an object is created, including when an exceptionis
thrown.
[url
http://java.sun.com/docs/books/jls/third_edition/html/
execution.html#12.5]JLS 12.5 Creation of New
Class
Instances
What downside are you claiming to throwing an
exception from a c'tor?IMHO The JLS does specify the steps but doesnot
mention the order. Please correct me if it specifies
the order as well.
Read that section. The order is the order it states there.
>
If an exception is thrown in a constructor would an
object be created or not?
A a = new A();
Depends what you mean by "object created." The memory is allocated. Which of the rest of the steps have been run (instance initializers, ancestor c'tors, this c'tor) depend on where the exception was thrown. Regardless, though, you won't get back a value in the variable a.
now the constructor A() throwns and exception. My
question is would a be null in that case or not?a will have whatever value it had before that method, if any. But it doesn't matter, because, since an exception has been thrown, the steps after that statement are not executed.
Specially considering as I mentioned the order is not
guaranteed in my previous post and JMM is broken.You have yet to provide support or clarification for this, or what it means in this context.
Considering a might or might not be null ,There is no "might or might not." See above.
what
would be the benefit of such an exception.
Following the broken DCL semantics and I am sure
you must have gone through articleDCL is a completely different issue. -
Entries Should come by default in XD01
Hi Gurus...
Can we do the setting like when we will create the Customer in XD01 some entries should come by default for the Fields in XD01 like Reconcillation A/c # 6458321, Payment term field- Check, Sort Key # 006 & Cash management Group # Z9.
Please give me the solution....
Thanks in Advance
I will really Appreciate....
Thanks
Amol GawaiThanks Sai....
This requirement is for only specific sales area & for other sales area there is no default entries.
The situation is we have more than one company codes & sales org. , Distrubtion channel & Division
I want the default entries only for one Sales Area.and for other Areas & Company codes it should be normal means no default Entries.
Will it be possible with this Tcode-SHDO ?
Again Thanks
For Correct Solution , I Will definately rewards the points
Thanks
Amol Gawai
Maybe you are looking for
-
Hi, In the query, i have a 'Account Column' and 'Import'. when I execute the query the Null's Accounts ( import = space ) appear and I don't want it. I want that only appears the accounts that have import. I try with a condition and hide the 0 , but
-
Using an external hard drive with an airport extreme and HP computer
- I recently bought the airport extreme, and also bought a Seagate external hard drive for my music files. I can see the hard drive on the airport utility but cannot access it or find where to access it. I am using an HP computer with windows 7. He
-
Y
-
How to blend 2 photos using Adobe Photoshop Elements 8?
Hi, Could some kind person show me to blend to simple photos using Elements 8? I am totally struggling and it's driving me mad! Have tried to follow various online tutorials but the buttons seem to be diff. on my Elements 8 from other version can't e
-
I got this error while creating a 3d animation
MainTimeline, Line 11 1172: Definition fl.motion:AnimatorFactory3D could not be found. MainTimeline, Line 12 1172: Definition fl.motion:MotionBase could not be found. MainTimeline, Line 15 1172: Definition fl.motion:motion_internal could not be found