Re: Steve's book - PLSQL - Validation/DTD/Parser questions

1)How much of the xpath plsql validation example in Steve's book (page 138 onwards) could (or should) be done by parsing with the appropriate DTD instead?
2)If we receive an input XML doc that is missing the DTD line (reference to our published DTD) can we still enforce parsing with our DTD (without having to modify the input doc)?
3)Can the plsql XML parser return all parse errors in one go (cf command line oraxml v filename)
null

We don't support file references ("cv1_0.dtd"). Only url type references
are supported, of the form:
@ <!DOCTYPE cv1 SYSTEM "http://www.oracle.com/public/cv1_0.dtd>
Note that the url should be accessible to the world without the need to authenticate.
you could put your dtd in the "public" area in your iFS system.
Thanks,
Sirisha
null

Similar Messages

  • Validating XML parser for J2ME?

    Hello,
    does anybody know a validating XML parser for J2ME?
    Thanks
    Volker

    I mean the XML parser.
    I want to know if there are XML parsers which can validate a XML document against a DTD or Schema
    Thanks
    Volker

  • How to define a application level (or page 0) plsql validation

    I have a selection region on page 0, which I use on a lot of pages. I want to define plsql validation for the items in that region.
    I have already a database package with the validation code.
    Now I want to define each validation only once and not on each page.
    How can I do this.

    Funny thing happened to me on the way to creating my scenario on the apex.oracle.com site. I actually got it to work there. Once I attempted to simplify my scenario to reproduce it on apex.oracle.com, I figured out a simple step (hack?) that I was missing. I put that back into my site and it's working there now as well.
    If it's useful for others who attempt to do something like this, I needed to create a page-level process which doesn't really do anything except have a "NOT NULL" condition of the APP_ERROR_MSG application-level item and then use the "&APP_ERROR_MSG." syntax in the "Success Message" of that process. In essence, I'm telling the process to display the error as a success message when the APP_ERROR_MSG item is not null.
    I feel this is a hack because I would prefer to have this error message processing at the application level rather than at the page level. I was forced to put this process at the page level rather than at the application level because (as of ApEx 2.2) application-level processes do not have a "Success Message" option, only an "Error Message" option, while page-level process have both.
    Maybe my "fix" is truly a hack and I would love to hear that in order to get a better solution, that is more generic and application-level based. My sample app is at http://apex.oracle.com/pls/otn/f?p=32483:1 with the username of "devguest" and the same as the password.
    I look forward to hearing some thoughts.

  • ORACLEWEBROWSET :java.sql.SQLException: No valid JAXP parser property

    Hi I have a servlet that reqeusts an xml from another servlet this is the code:
    URL host = new URL(url);
    HttpURLConnection hostconn = (HttpURLConnection)host.openConnection();
    hostconn.connect();
    BufferedReader xml = new BufferedReader(new InputStreamReader(hostconn.getInputStream()));
    OracleWebRowSet wrs = new OracleWebRowSet();
    wrs.readXml(xml);
    I get the following error when I try to read the xml document (there is a valid xml document being passed):
    java.sql.SQLException: No valid JAXP parser property specified
    at oracle.jdbc.rowset.OracleWebRowSetXmlReaderImpl.readXML(OracleWebRowSetXmlReaderImpl.java:138)
    at oracle.jdbc.rowset.OracleWebRowSet.readXml(OracleWebRowSet.java:83)
    at com.startech.xml.WebRowSetClient.executeSearch(WebRowSetClient.java:65)
    at com.startech.xml.WebRowSetClient.main(WebRowSetClient.java:81)
    Pls could sum1 help thanks

    Hi,
    I hope you got rid of this problem by now. I too faced the same problem today while using OracleWebRowSet.readXML. I could able to find a workaround for this problem i.e.
    I added the required parser information to System.Properties as below:
    Properties p = new Properties(System.getProperties());
    p.put("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
    System.setProperties(p);
    and it worked for me.
    Basically what OracleWebRowSet's implementation for ReadXML method does is, it performs a look up for SAXParserFactory implementations within the System properties - it then looks for any DOM implementation defined in System.properties; if none of them is available then it raises the exception
    java.sql.SQLException: No valid JAXP parser property specified
    - I believe this should work for you too. Please let me know if you got rid of this in any other way.
    Thanks & Regards
    Dandapani

  • I just purchased Steve job book , I found out after the purchase , it is in Russian . Why the system is not clear , I like refund.

    I purchased Steve job book , I found out after , it was in Russian ,why you were not clear on the page this copy only in Russian. I like refund form apple store.

    User to user forum-no Apple here.
    This is clearly stated in the terms of service for this forum.
    Report the issue through iTunes.

  • HT204081 I got Steve Job book in Russian instead of English

    i downloaded book on iPad3 from Appstore but got Steve Job's book in Russian, I need in English, how can I get Steve's book in English ?
    I am very new user and do not find "report a problem" button on Russian text?
    Thanks,
    BN Jain

    From what country's iTunes Store did you buy the book?

  • How can i buy a french version of Steve jobs book from isaacson i live in Quebec /Canada and only the original english version. This book is avalable in french on the France ITunes store and of course in french everywhere by Amazon /Kindle!

    How can i buy a french version of Steve jobs book from Jacob Isaacson?I live in Quebec /Canada and the IBookstore propose only the original english version, italen, japanise ...   The Canana is a bilangual contry, english and french.
    This book is avalable in french on the France ITunes store but we can buy on a another Itunes Store.
    Of course it's avalable in french everywhere by Amazon /Kindle! Is it the way? Mmmm

    Irobertdion wrote:
    it's avalable in french everywhere by Amazon /Kindle! Is it the way? Mmmm
    Yes, whenever you cannot find something you want at the iBookstore, you simply need to try the other free ereader apps like Kindle, Nook, Kobo, and Googlebooks and see if one of them has it.

  • DTD parsing

    hi guys,
    is it possible to get generate a DOM-like tree structure from a dtd parser.
    actually i intend to use a DTD parser to parse a given a DTD file and generate the structure in a JTree format. i thought using DOM wud be good idea.
    i am using a parser from www.wutka.com
    the following code gets me only the elements, without specifying who is the child of whom. as i said above ,can i modify this to get the elements in a hierarchical form.
    FileReader DTDRead = new FileReader("D:\\Documents\\Vineet's Documents\\MYPROG\\GenerateForm.dtd");
              DTDParser  dtdParser = new DTDParser(DTDRead);
              DTD dtd=dtdParser.parse();
              java.util.Hashtable  dtdElements = dtd.elements;
              java.util.Enumeration  iter = dtdElements.elements();
              String a;  int i=0;
              while (iter.hasMoreElements()) {
                   DTDElement  dtdElement = (DTDElement)(iter.nextElement());
                   a=dtdElement.getName();
                   arr=a;
                   i++;
                   System.out.println(dtdElement.getName());

    I know nothing about your www.wutka.com parser.
    If it's me, I'd write a custom parser becuase the structure of DTD is simple.

  • Steve Jobs Book in Audio?

    Having trouble finding the new Steve Jobs book in audio.
    Is it available in iTunes, if not why not and where can I get it in audio format?

    Nobody can tell you why anything is not available in iTunes, or find it there any more easily than you can yourself.  As for other sources, did you try Amazon?
    http://www.amazon.com/Steve-Jobs-Walter-Isaacson/dp/1442346949

  • Steve Jobs book nowhere to be found

    I preordered the new Steve Jobs book and today I received notification to download it. I click on the link and it says all books have already been downloaded and the book is not in my library or purchased items. Any suggestions?
    iPad 2, ios5.
    Thanks in advance

    Yes, two tips.
    Since you didn't mention it specifically, try to Sync your iPad2 on iTunes. That transfers your purchases to folders on your computer. If it is already on your iTunes Books or Purchased area, uncheck it ("in Sync Books"), Sync your iPad without it, and then re-add it back to your iPad. See if it opens then.
    The other tip is to call Apple iPad support (as they ridiculously do not have an iTunes rep to help out on the phone). They will solve this for you, in case all other tips fail. They've had to help me out in the past by deleting Purchased items from my download queue, before the days of iCloud.

  • My book package validated, and delivered, but after several days, I have not been notified that Apple has it, or that it is in the iBooks store. When can I expect to hear something?

    My book package validated, and delivered, but after several days, I have not been notified that Apple has it, or that it is in the iBooks store. When can I expect to hear something?

    Did you check in iTunes Producer if your package really imported correctly?
    While in iTunes Producer, you go to "File" and then click on "Package History", it will fetch the status on the Apple system on-line.
    I have the same problem since I have been trying to update my previsously published book, I keep getting import error messages. I tried omitting the version number and "whats new in this version" but nothing seems to work... Sent emails to Apple through the iTunes producer tool but to no avail - so far.

  • Validating XML Parser

    We want to validate XML Messages generated by UDS 5.1 components against XSchemas before we send them out.
    Forte 3.5. built in parser does no validation.
    Has anybody set up a solution architecture he/she will share with us ? ( We do NOT have an AppServer in place !).
    Solutions on UNIX platform preferred.
    Thanks for each hint !

    We have implemented a validating XML parser that does not require command line execution but unfortunately it depends on the Microsoft MSXML parser. We used olegen to create a Forte project that allows us to reference the MSXML parser as if it were inline Forte TOOL code. The MSXML4.dll provides support for validating XML schemas.
    We are looking to find a multi-platform way to accomplish the same thing. I'm guessing that there may be a validating XML parser out there implemented in C that can be included into the Forte repository using the wrapper mechanism - has anyone tried this?
    I see that Xerces has a C++ based validating parser - do you thing that could be accessed via the wrapper? Or would that have to be accessed via the command line?
    Regards.

  • Tough Parsing question???

    Please try to help me with the following parsing question.
         I have an exert from the 2000 Tiger/Line Census files that looks
         something like this:
         0001     A     Libby     Ln     -92.99999+25.87787      -92.87679+26.65543
         0002     A     Capri     Ave     -93.32343+23.3332 3      -24.34444+34.22222
         0003     A     Minster Grove Ln     -93.23433+22.2223432     -98.343343+23.34332
         0003     A     Houston Ave -91.99892+22.323322     -98.434543+33.33233
         0004 A I-10          Int -91.23234+32.343232     -97.333233+34.22222
         0005 C     Trenton Springs Ct. -90.22232+33.222123          -91.234432+23.33221
         I want to parse it so I can enter it into an SQL database.
         Normally this would be an easy task but, the file is not comma
         deliminated. Usaully I could just break it apart at the white space
         but as you can see above, some of the street names (the third column)
         have whitespace in the text. I have almost declared it impossible
         and am about to give up an buy prepackaged/parsable software.
         I will feel very small if I have to do that.
         Thanks for any help,
         Ian

    public class CensusParser
         String[] census = {     "0001     A     Libby                       Ln     -92.99999+25.87787                 -92.87679+26.65543",
                                  "0002     A     Capri                       Ave     -93.32343+23.3332 3                -24.34444+34.22222",
                                  "0003     A     Minster Grove    Ln     -93.23433+22.2223432             -98.343343+23.34332",
                                  "0003     A     Houston               Ave    -91.99892+22.323322           -98.434543+33.33233",
                                  "0004    A       I-10                     Int    -91.23234+32.343232                 -97.333233+34.22222",
                                  "0005   C     Trenton Springs Ct.    -90.22232+33.222123           -91.234432+23.33221" };
         int cur, flds;
         String n = "";
         void parse() {
              for (int x=0; x<census.length; x++) {
                   flds = 0;
                   cur=census[x].length();
                   n = "";
                   for (int y=census[x].length()-1; y>=0 && flds < 4; y--) {
                        if (census[x].charAt(y) == '-' || census[x].charAt(y) == '+') {
                             n = "," + census[x].substring(y, cur).trim() + n;
                             cur = y;
                             flds++;
                   n = census[x].substring(0, cur).trim() + n;
                   census[x] = n;
                   System.out.println(n);
         public static void main(String[] args) {
              CensusParser cp = new CensusParser();
              cp.parse();
    }Not very efficient, but it works!
    Mark

  • Respected sir, i have problem with my mac book pro 13, i shows question mark when i start up the laptop. so please reply with the convinient solution

    respected sir, i have problem with my mac book pro 13, i shows question mark when i start up the laptop. so please reply with the convinient solution

    ajit5544 wrote:
    ..  my mac book pro 13, i shows question mark when i start up the laptop. ...
    See here  >  http://support.apple.com/kb/TS2570

  • Xml and DTD parser in oracle

    I have to parse a validated xml message into oracle database tables.
    I have tried using it with DTD validation but somehow it is not working. Can anyone pls suggest me the solution to parse a validated xml message into the database tables.

    I have to parse a validated xml message into oracle database tables.
    I have tried using it with DTD validation but somehow it is not working. Can anyone pls suggest me the solution to parse a validated xml message into the database tables.

Maybe you are looking for

  • LabVIEW Embedded

    LabVIEW Embedded uygulama ornekleri,egitim-tanitim videolari varmıdır?,bunlara nasıl ulaşabilirim? Turgay

  • Connection / Permission Problems with PI System to Solman

    I have 3 PI Systems (7.4) who are connection to a Solman 7.1. The abap solman connection/configuration works fine. In the java configuration assistant at diagnostic agent, test status and Host Agent status are green. On the next,next,next step create

  • BDC ...?  . ?  ..  . ? Confused

    Hai Dear ABAP Pros.. As far as I know, BDC is used to Transfer data from legacy system to SAP system. I have newly started my career in SAP ABAP & I am the only guy for this company on ABAP & havenot yet worked on BDC yet. I have gone thru the notes

  • IPhoto slideshow imported into iMovie  - photos no longer fit in frame

    I imported an iPhoto slideshow into iMovie. The event that is created matches the iPhoto slideshow. However, when I drop the iPhoto slideshow into into the new project, I am losing the tops and bottoms of my photos. For most of the photos this is oka

  • Color doesn't remember folders.....mmmm

    Hi guys Been working on this concert and Color has been remarkable...3500 edits, 90 mins broken into pieces (largest piece is now 1300 edits) Anyway...basic corrections but doing well. Now...only thing driving me UP THE WALL is the fact that when I s