Interactive pattern question

hey all, i need help, i have a school project, which is making website. i need a tutorial on how to make moving interactive pattern like this http://andy.thlndr.com
i appreciate any advice, please help! thks

Hello, I have a couple points of advice for you...
First I think your aiming a little high, that's more then a pattern and the load time on it is long...
It is very cool, no doubt! If you have your heart set on it I would contact him and ask him for a breakdown if he's willing, because he is a coder and if your in school I'm just going to assume its over your head at the moment..
If your some kind of a lil genius then more power to you
If your new in edge id suggest that you follow available tutorials, there are plenty..and some are very well done.

Similar Messages

  • A different interaction pattern

    Hi all,
    I want to use a different interaction pattern in my flow. I want a synchronous flow which will synchronously return an immediate response (actually the instance id of itself) to the client but it will continue processing, possibly for a long time.
    Is it all right to implement this flow with a normal synchronous flow? What other options do I have?
    Thanks in advance..
    Serkan

    It's more about how and what calls are made. A proper asynchronous process only ever makes asynchronous calls to asynchronous processes. If a process makes a call to another process, and then waits for a callback 'invoke', instead of a 'reply', then the calling process is asynchronous.
    To see why this is so, you need to know how BPEL PM manages processes. There's information in the manuals and I encourage you to search them out (try here: http://download-west.oracle.com/otndocs/products/bpel/bpeldev.pdf). In brief, if a process blocks, then it is asynchronous. A process blocks when it waits on an asynchronous callback (<receive> activity and <pick> activity), when it waits for a timer (<wait> activity), and probably something else as well.
    As has been discussed, if a synchronous process calls another process, and that process is not a true synchronous process and waits too long before replying, then the caller will timeout waiting.
    To answer another question, from my own experiments, a process is ended when it ends. It doesn't matter when it sends a <reply> or an <invoke> callback. I in fact have some processes which send two <invoke> callbacks, in a flow similar to yours.
    In your desired flow, if you can guarantee that your process will respond with its instance id immediately, then you can return the instance id with a <reply> and have the caller receive as a synchronous call, but follow that by the caller waiting asynchronously for a final callback.
    For example, the caller would be something like:
    <invoke name="sub_process" inputVariable=".." outputVaribale="instanceID" .../>
    // sub_process replies immediately with its instanceID. then waits a long time before replying a second time
    <receive name="sub_process" variable="..."/>
    the sub_process would be something like:
    <receive>
    <reply variable="instanceID"/>
    // do other stuff
    <invoke name="client"/>
    If, however, you can't guarantee the instanceID being returned immediately. Replace the synch reply with an asynch callback, and then you'll have two asynch callbacks, and two <receive> activities in the caller.

  • Combining scored interactions and questions - navigation settings

    I'm trying to get to grips with the way the Preferences > Quiz > Settings > Requried options work when my quiz combines both scored interactive objects and questions.
    I'm currently using Cp4 but would be interested to know if Cp5 behaves the same.
    Am I right in thinking that the effects of the different options are:
    Optional
    The learner can scrub back and forth with the playbar as much as they like without restrictions.
    Required
    The learner can scrub back and forth without restriction, but only up to the last slide with a scored interaction or question. To get further into the lesson they have to click any one of the previous scored interations, or submit a single question answer (wrong or right).
    Pass Requried
    I couldn't figure this out at all! I set a pass score, had a load of scored interactions and questions, but the learner could scrub right through the slides with scored interactions into later slides that weren't scored. Ah well, good job I'll be using the LMS to manage pass/fail
    Edit: Oh, it looks like this only comes into play if I select 'show score at end of quiz' - you can only ontinue past the results page if you achieve the pass score.
    Answer all
    Learner can scrub to the end of any slide with a scored interaction or question, but to get to the next slide must either click the interaction or submit an answer (right or wrong). And if the next slide also has a scored object, repeat. Once they've 'unlocked' a slide they can scrub out and back into it in the same session.
    Any observations on that?
    Obviously learners won't be able to scrub back if backward movement/review is disallowed.
    Incidentally, I did notice that the point Cp locks the slide seems on 'answer all' to have some very odd properties. If I removed the pause from the click box, or the learner clicks play at the pause, then it carries on into a kind of phantom frame - with no captions or slide background - but the click box still works, if you know where on the screen to aim for!
    Does anyone know a way to modify that locking frame to provide some info for the learner on what they need to do to progress?
    Thanks

    Hi BrightonJon
    For the back movement there is an additional field. "Allow Back Movement" (or close to that)
    Required only mentions that you cannot skip until you have answered
    Pass Required means that you have to answer it correct to continue
    These are about single questions.
    A locking frame often happens at strange places. I have it most often using advanced actions.
    Best TD

  • Interactive pictures question

    If you look at the free iBook "Life on Earth" that's in the new textbook section of the bookstore, you will find that when you tap pictures or do a two finger spread, they enlarge to full screen mode. Is this some special widget that the publisher has or can you do this with iBooks Author's standard widgets? After a lot of searching on the internet, I discovered that you can get pictures to enlarge with a tap by selecting the picture and then in the Widget Inspector clicking the title selection under layout followed by clicking the Full screen only selection under Interactive. This essentially turns the selected picture into a one picture gallery to which you can add a caption if so desired. If you do this, the picture will enlarge to its full size when taped on your ipad. However, this does not do the two finger spread enlargement mentioned above. You can enlarge the image by spreading your fingers on the iPad screen, but as soon as you remove your fingers the picture pops back to it's original size on the page. In "Life on Earth" it will stay at its enlarged size when you remove your fingers.
    And yes, I have looked at Publishing with iBooks Author, but have not been able to find anything about the question above.
    Thanks for any insight.

    As KT said, it is a gallery widget, and thats how they work (2 finger launchs full screen)
    single image with caption and "full screen only" selected, a tap lauches full screen and the 2 finger spread justs inlarges the whole page/image untill let go and it snaps back. (I have Accessibility off)
    if single image not set to "full screen only", the 2 finger spread launches full screen (just like the gallery widget)

  • [BPM] Screenflow and Killing Interactive Process Questions

    Hi Guys,
    I have the following questions:
    1. How to kill an interactive activity? I tried to kill a process in an interactive activity via PAPI but it throws an exception:
    samplePAPI.activityAbort(target.getActivityName(), target.getId());
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Operation exception.
    faultActor:
    faultNode:
    faultDetail:
         {http://bea.com/albpm/PapiWebService}OperationException:<message>Operation exception.</message>
    Operation exception.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2. How to close a custom JSP in a screenflow through javascript. I have a cancel button which once clicked it will close the window.
    I hope someone can help me out with this.
    Regards,

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • Interactive swf question

    hello forumers.
    im exporting an swf file from indesign,and id like to know why indesign or the swf  generates an empty blank left hand page.?
    and when im making a pdf file,everything seems a bit buckled and pixelated although my images are 300dpi
    thank you.

    Hi
    First - There is nothing stopping you continuing to use swf's with html5 as the object/embed code used is still valid and recognised by html5.
    Second - You are probably asking this question due to the fact that the iPhone/iPad does not allow flash content. Unfortunately there is no way to get flash to play on these devices, (at the moment, but this could / probably will change). To use interactive graphics on these devices requires the use of the canvas element and javascript, but unfortunately the canvas element are not usable on current versions of IE, (IE9 does allow them).
    There is a javascript fix that will allow the use of canvas on IE versions prior to IE9 but I cannot recommend its use due to its speed of rendering except for very simple animations, (and I do mean very simple).
    The general opinion of most designers/developers appears to be that unless your target audience is the iPhone/iPad, then continue to use swf's for such items for the next few years at least, after all, the purchasers of the iPhone/iPad did buy these devices, (in most cases) knowing that they could not render flash.
    PZ

  • Interactive Planning question

    Hello,
    The feature 'Select Time Buckets Profile' which can be selected from the icon 'Period Structure' in Interactive Planning in DP when selected after loading data in the dataview, is being applied to only the future horizon.
    I tried to use the next feature from the menu 'Set Time Buckets profile', this too gives option to select only 'TB Profile ID (Future)' and gets applied to future horizon.
    Is this a bug in the system or it comes like that. If we want the selected TBP to be applied to both future and past, is there any additional setting we need to do to be able to change the past profile on the fly using this feature?
    Thanks,
    Tej

    Thanks Sunitha for your clarification, its a little surprising that we need to change at the dataview level Only for  the past horizon. Because in production system, a business user might want to do this , but will not be able to do due to security.
    It would be good to have this feature usable for past horizon as well.
    Guru Charan,
    Not necessarily that Business users will not be concerned about knowing past patterns, sometimes it becomes important to analyse history as well , as you rightly said - 'we are much concerned with how the future is getting affected based on the past data.', It becomes important to analyse both history and forecast in the same buckets and therefore need to be using the same profile both for past and future for comparing on same levels. I understand this is not a bug, but you could say its necessary feature which is missing in interactive planning.
    Thanks,
    Tej

  • Display pattern questions

    I would like to be able to set up a display patter that will add some asterisks or some other characters on each side of what ever a user enters in a field in order to flag the text. Is that possible? or is there a better way to do this than using display patters. I check the Designer help but could find much to answer my question.

    Amanda,
    Try to put a single quote around the parenthesis like this:
    '('$ZZ,ZZ9.99')' for your display pattern.

  • Regex pattern question

    Hi,
    I'm trying to get my feet wet wtih java and regular expressions, done a lof of it in perl, but need some help with java.
    I have an xml file (also working through the sax tutorial, but this question is related to regex)that has multiple elements, each element has a title tag:
    <element lev1>10<title>element title</title>
    <element lev2>20<title>another element title</title>
    </element lev2>
    </element lev1>If I have the following pattern:
    Pattern Title = Pattern.compile("(?i)<title>([^<]*)</title>");that picks up the titles, but I can't distinguish which title belongs to which element. Basically what I want to have is:
    Pattern coreTitle = Pattern.compile("(?i)<element lev1>(**any thing that isn't an </title> tag**)</title>");looked through the tutorials, will keep looking, I'm sure it's in there somewhere, but if someone could point me in the right direction, that would be great.
    thanks,
    bp

    Just guessing, but maybe...
    Pattern.compile("(?i)<element lev1>*<title>([^<]*)</title>");
    But it seems that things like parsing with SAX (or loading to a DOM) or XPath would be much better suited to parsing out XML then regexp.

  • OO pattern Question

    the Question:
    In the file system, there are many files, their's file format is FormatA.
    and now come two new file formats, FormatB and FormatC.
    Now the old files with file format FormatA should be converted into files with FormatB,and In the future the FormatB maybe convertend into FormatC,
    how to design using design patterns?

    Hi myQA,
    what exactly are you considering the client?
    The one calling readFile and writeFile?
    If you are concerned about explicitly creating FileXReaderWriter
    and thus knowing about the differnt file types, one could easily overcome
    this limitation by using a Factory class:
    public class ReaderWriterFactory {
        public FileReaderWriter createReaderWriter(){
            if (someCondition) { // the condition might be depend on some parameter provided (filename for example) or the state of the system or ...
                 return new FileAReaderWriter();
            } else {
                 return new FileAReaderWriter();
    }If you only need this whole stuff for converting (thus you don't want to read files in order to work with the data inside) you could wrap all
    the logic behind on function call convert(String fromName, String toName) maybe with some additional information what formats to use.
    Although this really belongs in its own class Converter I guess one could add It to the Factory, which then shouldn't be named Factory anymore. If the other classes and Interfaces aren't needed anywhere outside your Converter you should make them private to the converter.
    regards
    Spieler

  • Patterns Question

    Hey everyone, got a question regarding patterns in Illustrator and this one is sorta bugging me.
    Basically, I have a single object, a 3 leaf clover. When I import this object into the swatch pallet, it can make a pattern...yet it is more of a x and y axis pattern (clovers that make 90 degree angles and 180 angles). Is there an easy way to make the clovers pattern everywhere (making 45 degree angles , 90 degree angles, and 180)?
    Thanks in advance for your input. I appreciate it.

    Teri Petit has a sort of tutorial on how to do this do a search for Teri Petit Pattern Fill.

  • Service Locator pattern question.

    Hi,
    We have this kind of service locator which provides the caller a reference to a remote interface instead of to the home interface of the session bean. We're working with weblogic 6.1. My question, is it ok to store a reference to a remote interface in the service locator or is it better to store a reference to the home interface or .... is it better to not store them but every time create one when a client wants one. What is the best way and the pros and cons.
    Cheers!

    Hi,
    typically it is more common to just cache Homes and Factories in the ServiceLocator pattern.
    We have a detailed example of the Service Locator pattern applied in an application at http://java.sun.com/blueprints/patterns/ServiceLocator.html
    We cache the EJB Homes and other Factories.
    http://java.sun.com/blueprints/code/jps131/src/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java.html
    This allows the Service Locator to be used as a utility class. We have a Service Locator used by the web tier, and also one used by the EJB tier to lookup other EJBs and resources.
    hope that helps,
    Sean

  • OSB1G R3 Security Active Intermediary pattern question

    Hi
    we have a requirement to use Message level security (no ssl) between the client and OSB 10gR3 proxy services . No security is required between proxy and business services
    I wnet through WLS and OSB documentation and found it conflicting/vague for setting up the Active intermediary pattern
    we need to do 4 uses cases, Request encryption, Request signing, Response encryption, Response signing
    I have a few questions
    Do we need to setup PKI credential mapper for this (or is this only for outbound between Proxy and business services)
    How do the scenarios logically work (who uses private key and who uses public key for each of these scenarios)
    Current documentation doesnt match with my understanding of PKI infratsructure
    Thanks for any information

    Hi Udi,
    If I am reading your question correctly, you want to know if XI can take the user context from the sharepoint portal and pass it on to the R/3 backend, i.e. logging on to R/3 using the same user as is logged on to sharepoint. The answer, unfortunately, is no. AFAIK the only current way to accomplish this is to include the username in the actual message content and pass this on to the R/3 system; then on the R/3 system code the necessary authority checks against the provided username. Be aware though, that you cannot use the usual authority-check functionality for this.
    Regards,
    Thorsten

  • XSD:Pattern Question

    SQL*Plus: Release 11.2.0.2.0 Production on Thu Jan 13 15:25:04 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I'm putting together a simpler test case for this, but I figured I'd start by asking the question and seeing if the answer is simple...
    I have an XML document with the date elements:
                    <documentDate>20080808</documentDate>
                    <entryDate>2009-09-22</entryDate>the documentDate is defined as PartialDateType.
         <xsd:simpleType name="PartialDateType">
              <xsd:restriction base="xsd:string">
                   <xsd:pattern value="\d{4}|\d{6}|\d{8}"/>
              </xsd:restriction>
         </xsd:simpleType>When I try to validate the document, I get
    “literal "20080808" is not valid with respect to the pattern”.
    If I shorten the date to "2008", the document validates.
    What part of <xsd:pattern value="\d{4}|\d{6}|\d{8}"/> do I not understand?

    Workaround is to reverse the pattern.. See below
    c:\xdb>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Jan 19 13:55:30 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> set echo on
    SQL> spool testcase.log
    SQL> --
    SQL> connect sys/oracle as sysdba
    Connected.
    SQL> --
    SQL> set define on
    SQL> set timing on
    SQL> --
    SQL> def USERNAME = XDBTEST
    SQL> --
    SQL> def PASSWORD = &USERNAME
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user XDBTEST cascade
    User dropped.
    Elapsed: 00:01:40.47
    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 XDBTEST identified by XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.08
    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 XDBTEST default tablespace USERS temporary tablespace TEMP
    User altered.
    Elapsed: 00:00:00.00
    SQL> set long 100000 pages 0 lines 256 trimspool on timing on
    SQL> --
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> var SCHEMAURL VARCHAR2(700)
    SQL> var XMLSCHEMA CLOB
    SQL> var INSTANCE CLOB
    SQL> --
    SQL> begin
      2    :SCHEMAURL:= 'http://xmlns.example.com/testcase.xsd';
      3    :XMLSCHEMA :=
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
      6     <xs:element name="T1" type="T1_TYPE"/>
      7     <xs:complexType name="T1_TYPE">
      8             <xs:sequence>
      9                     <xs:element name="TEST" type="PartialDateType"/>
    10             </xs:sequence>
    11     </xs:complexType>
    12     <xs:simpleType name="PartialDateType">
    13             <xs:restriction base="xs:string">
    14                     <xs:pattern value="\d{8}|\d{6}|\d{4}"/>
    15             </xs:restriction>
    16     </xs:simpleType>
    17  </xs:schema>';
    18  end;
    19  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> declare
      2    V_XML_SCHEMA xmlType := XMLType(:XMLSCHEMA);
      3  begin
      4    DBMS_XMLSCHEMA.registerSchema
      5    (
      6      SCHEMAURL        => :SCHEMAURL,
      7      SCHEMADOC        => V_XML_SCHEMA,
      8      LOCAL            => TRUE,
      9      GENBEAN          => FALSE,
    10      GENTYPES         => FALSE,
    11      GENTABLES        => FALSE,
    12      ENABLEHIERARCHY  => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE,
    13      OPTIONS          => DBMS_XMLSCHEMA.REGISTER_BINARYXML
    14    );
    15  end;
    16  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:04:26.10
    SQL> create table TEST_TABLE of XMLTYPE
      2  XMLTYPE STORE AS SECUREFILE BINARY XML
      3  XMLSCHEMA "http://xmlns.example.com/testcase.xsd" ELEMENT "T1"
      4  /
    Table created.
    Elapsed: 00:00:00.70
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "9" is not valid with respect to the pattern
    Elapsed: 00:00:06.08
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "99" is not valid with respect to the pattern
    Elapsed: 00:00:06.70
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "999" is not valid with respect to the pattern
    Elapsed: 00:00:07.67
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:24.30
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "99999" is not valid with respect to the pattern
    Elapsed: 00:00:08.02
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:11.60
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999999</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "9999999" is not valid with respect to the pattern
    Elapsed: 00:00:05.60
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:06.18
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999999</TEST></T1>') )
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "999999999" is not valid with respect to the pattern
    Elapsed: 00:00:05.61
    SQL> DROP TABLE TEST_TABLE PURGE
      2  /
    Table dropped.
    Elapsed: 00:00:00.14
    SQL> call dbms_xmlSchema.deleteSchema(:SCHEMAURL)
      2  /
    Call completed.
    Elapsed: 00:00:00.06
    SQL> declare
      2    V_XML_SCHEMA xmlType := XMLType(:XMLSCHEMA);
      3  begin
      4    DBMS_XMLSCHEMA.registerSchema
      5    (
      6      SCHEMAURL        => :SCHEMAURL,
      7      SCHEMADOC        => V_XML_SCHEMA,
      8      LOCAL            => TRUE,
      9      GENBEAN          => FALSE,
    10      GENTYPES         => TRUE,
    11      GENTABLES        => FALSE,
    12      ENABLEHIERARCHY  => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    13    );
    14  end;
    15  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.87
    SQL> create table TEST_TABLE of XMLTYPE
      2  XMLTYPE STORE AS OBJECT RELATIONAL
      3  XMLSCHEMA "http://xmlns.example.com/testcase.xsd" ELEMENT "T1"
      4  /
    Table created.
    Elapsed: 00:00:00.07
    SQL> create trigger DO_VALIDATION
      2  before insert
      3  on TEST_TABLE
      4  for each row
      5  begin
      6   :new.object_value.schemavalidate();
      7  end;
      8  /
    Trigger created.
    Elapsed: 00:00:00.06
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "9" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.39
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "99" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.52
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "999" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.50
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:05.95
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "99999" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.53
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:05.40
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>9999999</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "9999999" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.37
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>99999999</TEST></T1>') )
      2  /
    1 row created.
    Elapsed: 00:00:05.74
    SQL> insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999999</TEST></T1>') )
      2  /
    insert into TEST_TABLE values ( XMLTYPE('<T1><TEST>999999999</TEST></T1>') )
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00333: literal "999999999" is not valid with respect to the pattern
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "XDBTEST.DO_VALIDATION", line 2
    ORA-04088: error during execution of trigger 'XDBTEST.DO_VALIDATION'
    Elapsed: 00:00:05.49
    SQL>

  • Needed Latest  SCJP 1.4 exam pattern +question papers

    Hi,
    I'm taking up SCJP 1.4 exam on 13th Oct.
    Could you please suggest websites for/ send the Latest SCJP 1.4 exam pattern and question papers for me ?
    Thanks and Regards,
    Sanjeev Kulkarni

    Darryl.Burke wrote:
    From the UK:
    Durham University's page on SLAC-HEPNAMES database of EMAIL-IDs in HEPDATA
    {color:#0000ff}http://durpdg.dur.ac.uk/HEPDATA/ID{color}That line is only in the title. The text says
    worldwide directory of email addresses
    >
    From the US:
    University of California's page on Mail ID Name Changes
    {color:#0000ff}http://email.ucdavis.edu/forms/mailidnamechange.php{color}They use MailID (not email id, is an internal identifier) and the text says
    change in your email address then after your old email address expires
    >
    >
    University of North Carolina's page on UNCW E-mail ID Retrieval
    {color:#0000ff}https://appserv02.uncw.edu/dasapps/sec/getid.aspx{color}Once again, Email-ID is again an internal term refering to the use of an email address as a logon id.
    The text, once again, says
    UNCW e-mail username (your e-mail address without the @uncw.edu)
    >
    From Belgium:
    Username: (Email ID) on
    {color:#0000ff}http://customer.netline.be/{color}
    Once again, I see this more as simply an internal reference to an email used as a logon id (so a composite term).
    Madison Area Technical College's page on Student Network/Email ID Choices
    {color:#0000ff}http://matcmadison.edu/matc/studentresources/studentemail/about.shtm{color}
    From page
    {color:#0000ff}http://www.abitmore.be/ssr2001/w3warecb.htm{color}
    ... ... like: change in eMail ID, ... ...
    These site seems to be using like you feel (although the first does not contain enough context to be sure), but they, and every other site listed here, is hardly definative.
    Edit: This is not to be combative, so please don't take it that way. Just expanding on my viewpoint.
    ;-)

Maybe you are looking for

  • How do I sync my Blackberry Tour calendar to my Google calendar?

    I just upgraded my phone from a Blackberry Tour to a Droid Razr M.  (The trackball stopped working so I my alarm clock still sounds and my reminder alerts still work, both in volume and on the screen, but I can't answer the phone or clear the screen.

  • File containing semi-colon(;) cannot be loaded in JVue

    Hello, I am using AutoVue Client/Server Deployment 20.2.2 on Win7. I have file as "semi;colon.txt". When I launch autovue to load this file, I receive error as "Failed to upload file. File not found.". I have following OBJECT tag to launch autovue. <

  • Export to desktop?

    Hello, Am just experimenting with the online digital publishing and have noticed they is an Export button underneath the Publish button (screenshot below illustrates what i'm on about) is it possible to export a folio online to my desktop? if so how

  • InternetAddress not being encoded

    Hello all! From a HTML-form I get this Input: "Дарья Алампиева" <darja@localhost> Now on the server-side I do: inetAddresses[ii] = new InternetAddress(actAddress); debug: actAddress= ""Дарья Алампиева" <darja@localhost>" Now I do: mm.setRecipients(Me

  • My photos gone after updated ios 6 @_@

    i have ipod 4th gen, just updated ios 6, after all... i lost all of my photos, and i don't have any idea what to do to get my photos back, i have thousands photos at my ipod, pleeeaasseee... help me....