XPATH and the C parser

Can I use an 'XPATH' expression to find a node using the C parser?
eg find '/A/B/C'
The Oracle Java parser supports this.
Thanks for your help.
Doug

Yes, we have Xpath and XSLT support in the parser.

Similar Messages

  • XMLIndex: finding indexed XPaths and the number of rows in the path table

    Hi,
    I am storing non-schema-based binary XMLs in an XMLType column in 11g (11.1.0.6.0) and would like to index the XMLs either partially or fully using XMLIndex. I'm expecting to have a large number (tens of millions) of XML documents and have some concerns about the size of the XMLIndex path table.
    In short, I am worried that the path table might grow unmanageable large. In order to avoid this and to plan for table partitioning, I would like to create a report of all indexed XPaths in an XMLIndex and to find out how many times each path is actualized in the path table. I would do this for a representative XML sample.
    I have been creating XMLIndexes with different exclude/include paths, gathering stats with DBMS_STATS (estimate_percent = 100) and selecting the number of rows in the path table through USER_TABLES.
    If anyone knows a more straightforward way of doing this all advice is very much appreciated.
    Best Regards,
    Rasko Leinonen

    Thanks Marco,
    I managed to get out all indexed paths using the following SQL. It took a while to understand how the join the XDB.X$PT39CW6BJR8W4VVE0G0LLGA0OCR5 and XDB.X$QN39CW6BJR8W4VVE0G0LLGA0OCR5 tables together but got there in the end. This helps to clarify which XPaths are being currently indexed by the XMLIndex.
    begin
    for v_row in (select PATH from XDB.X$PT39CW6BJR8W4VVE0G0LLGA0OCR5)
    loop
    declare
    v_i BINARY_INTEGER := 1;
    v_id raw(8);
    v_len BINARY_INTEGER := 2;
    v_skip BINARY_INTEGER := 1;
    begin
    while v_i < utl_raw.length(v_row.path) and
    v_i + v_len <= utl_raw.length(v_row.path)
    loop
    v_i := v_i + v_skip;
    v_id := utl_raw.substr(v_row.path, v_i, v_len);
    --dbms_output.put_line(v_id);
    for v_row2 in (select LOCALNAME, flags from XDB.X$QN39CW6BJR8W4VVE0G0LLGA0OCR5
    where ID = v_id )
    loop
    if rawtohex(v_row2.flags) = '01'
    then
    dbms_output.put('@');
    end if;
    dbms_output.put(v_row2.localname);
    if v_i + v_len < utl_raw.length(v_row.path)
    then
    dbms_output.put('/');
    end if;
    end loop;
    v_i := v_i + v_len;
    end loop;
    dbms_output.put_line('');
    end;
    end loop;
    end;
    Example output:
    RUN
    RUN/@accession
    RUN/@alias
    RUN/@instrument_model
    RUN/@run_date
    RUN/@run_center
    RUN/@total_data_blocks
    RUN/EXPERIMENT_REF
    RUN/EXPERIMENT_REF/@accession
    RUN/EXPERIMENT_REF/@refname
    RUN/DATA_BLOCK
    RUN/DATA_BLOCK/@name
    RUN/DATA_BLOCK/@total_spots
    RUN/DATA_BLOCK/@total_reads
    RUN/DATA_BLOCK/@number_channels
    RUN/DATA_BLOCK/@format_code
    RUN/DATA_BLOCK/@sector
    RUN/DATA_BLOCK/FILES
    RUN/DATA_BLOCK/FILES/FILE
    RUN/DATA_BLOCK/FILES/FILE/@filename
    RUN/DATA_BLOCK/FILES/FILE/@filetype
    RUN/RUN_ATTRIBUTES
    RUN/RUN_ATTRIBUTES/RUN_ATTRIBUTE
    RUN/RUN_ATTRIBUTES/RUN_ATTRIBUTE/TAG
    RUN/RUN_ATTRIBUTES/RUN_ATTRIBUTE/VALUE

  • Namespace and the DOM Parser

    I have an XML file that has an explicit DTD that I am putting
    through the DOMSample with Validation set to true and it works.
    If I then introduce a section with a namespace reference I find
    the parser throws out errors.
    Do I have to tell it that namespaces are being used? if so how?
    Do I have to use namespace through out and not use the DOCTYPE
    tag?
    Please help.
    Also I have scouted around the documentation and find the stuff
    on line woul dbe far more useful with some good examples, please?
    Martin Roberts
    null

    Attachments: "1|type=text/xml|desc=XML file |1908|file=MegaStream.xml|"
    I have found and tried to use the DOMnamespace example in the
    sample downloaded. It works fine, except that it will not
    validate the document.
    Is this a problem with the parser not understanding the xmlns
    attribute?
    Also is there an option to be able to get the parser to expand
    the default values defined in the dtd attribute definitions.
    If you run IE5 you get the attributes expanded.
    null

  • XML Comparison without DTD & XSD and able to return XPath of the Diff Node

    Dear All,
    I am new xml concept in java.
    First xml can have n of nodes and second xml can have n of the node.
    The node is new to second xml when compare to first xml.It has to go change list.
    1. My job is to compare 2 xml document and return the XPath of the Nodes.
    2. Both xml do not have any association like XSD,DTD and XSLT.
    3. I am looking for java api to find/return xpath of the node.
    Please help me.
    Saravanan.P

    Don't know if there's a method for this in the default XML parsing interface of Java (JAXP). I never came across a method which would return an XPath expression based on a Node and a Document. Only the other way around: return the Node(s) based on a Document and an XPath expression. Maybe some Java XML framework like XStream or an Apache XML framework have this functionality. It would be possible (not really nice though) to create such a method yourself. Based on a Document and a Node as input you could iterate through the parent elements until you reach the root Node and return the path. You would need to take into account that a Node can be part of a NodeList, so you have to retrieve the index of the Node in the list too.
    Ronald

  • XPath and oracle parser

    Hi,
    I am using Oracle parser to parse my XML file, as i found that it is faster then IBM and sun parser, But i think it does not support XPath, so how can i use XPath and oracle parser, I can also use Sun parser , but dont know if it has XPath support,
    So please help me out

    I suppose it supports DOM or a saxHandler that can provides you a DOM
    tree. For Xpath, may I suggest you my solution : http://www.japisoft.com/jxpath
    Regards,
    A.brillant

  • Does the XMLP full or partially support the Xpath and XSLFO syntax?

    Does the XMLP full support the Xpath and FO syntax? or partially? Thanks

    Hi Robin
    OK, so hopefully you are not leading me into a trap here :o)
    There are two parts to this question:
    1. XPATH - we support as much of the XPATH spec as the Oracle XDK supports ie we rely on the XDK for our transformation engine so as long as they support what you are trying to do then we do. There are a few gaps and we have plugged those in the XMLP layer. So the short answer is yes.
    2. XSLFO - we allow you to use XSLFO in your template. The XMLP engine supports much of the standard but there are a few gaps. the next set of docs will layout exactly what we do support in the spec.
    Regards, Tim

  • [svn:osmf:] 12641: Improvements to the DFXP parser, captioning sample, and a bug fix for the TemporalFacet ( duration timers were not taking account of the media being paused).

    Revision: 12641
    Revision: 12641
    Author:   [email protected]
    Date:     2009-12-07 21:10:00 -0800 (Mon, 07 Dec 2009)
    Log Message:
    Improvements to the DFXP parser, captioning sample, and a bug fix for the TemporalFacet (duration timers were not taking account of the media being paused).
    Modified Paths:
        osmf/trunk/apps/samples/plugins/CaptioningSample/src/CaptioningSample.css
        osmf/trunk/framework/MediaFramework/org/osmf/metadata/TemporalFacet.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/parsers/DFXPParser.as

  • Do we have a way to get the differences between xtext model before and after partial parse?

    Do we have a way to get the differences between xtext model before and after partial parse?
    As an example i have file contains 4 lines, xtext parsed this file and generated its model, then i made small modification in line number 3, so xtext partially parsed the file and generated another model.
    The question is could we get the nodes that has been deleted from the model?
    could we get the new nodes added to the model?
    could we get the differences between the two models?

    Workflow {
    bean = StandaloneSetup {
    scanClassPath = true
    platformUri = "${runtimeProject}/.."
    // The following two lines can be removed, if Xbase is not used.
    registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage"
    registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel"
    component = ParseXextModel{
    //Load the xtext model and keep the reference of the inmem model
    component = DirectoryCleaner {
    directory = "${runtimeProject}/src-gen"
    component = DirectoryCleaner {
    directory = "${runtimeProject}/model/generated"
    component = DirectoryCleaner {
    directory = "${runtimeProject}.ui/src-gen"
    component = DirectoryCleaner {
    directory = "${runtimeProject}.tests/src-gen"
    component = Generator {
    pathRtProject = runtimeProject
    pathUiProject = "${runtimeProject}.ui"
    pathTestProject = "${runtimeProject}.tests"
    projectNameRt = projectName
    projectNameUi = "${projectName}.ui"
    encoding = encoding
    language = auto-inject {
    uri = grammarURI
    // Java API to access grammar elements (required by several other fragments)
    fragment = grammarAccess.GrammarAccessFragment auto-inject {}
    // provides a compare view
    fragment = compare.CompareFragment auto-inject {}
    component = ParseXextModel{
    //Load the xtext model again and keep the reference of the inmem model
    component = CompareModel {
    //Implement this using EMF Comapre to see the differnces between 2 models
    }

  • Can multiple APEX application use the same parsing schema?

    Hi,
    I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
    Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
    I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
    Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
    Thanks in advance!

    Hi,
    Multiple applications can have same (one) parsing schema.
    You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jan 28, 2013 7:15 PM

  • HOW TO: Use the XML parser in Oracle 8.1.7

    I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.

    You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
    Both of these are included in XDK for Java at:
    http://otn.oracle.com/tech/xml/xdk_java
    The following document could also help:
    Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html

  • Need Suggestion on the xml parser to be used in weblogic env.

    Hi All,
    1. I would like to know what is the parser suggested to be used when our application is running in the weblogic env. We have xerces parser already shipped in along with jdk and oracle's xdk parser is also available in the env.
    Kindly let me know what is the suggested one to use?
    2. In one of our applications, jaxp factory (javax.xml.parsers.DocumentBuilderFactory) is explicitly set to xerces's (com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl).
    Now when we changed it to use oracle xdk parser (oracle.xml.jaxp.JXDocumentBuilderFactory), We are running in to issues like 'IllegalArgumentException :not able to set Schema in setAttribute()' as a File Type.
    Previously, we used to set the Schema as File Type when xerces parser is used and that used to work fine.
    Kindly let me know the way which is accepted by both the parsers.
    Thanks
    Rajesh

    Use the default parser.
    By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
    The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
    The DocumentBuilderFactory.newInstance method returns the built-in parser.
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

  • Mapping of Web App context root and the physical directory of the web app

    I'm running Weblogic 7.0 on Windows2000.The physical directory of my web application
    is D:\WL8\weblogic81\TestDeploy\build\TestWebApp and under these directory I have
    my JSPS, static HTML and WEB-INF. I define the context path of this web app in
    the weblogic.xml ;-
    <weblogic-web-app>
         <context-root>/testapp</context-root>
    </weblogic-web-app>
    As a result of deploying this web app in the server (or it may be created manually
    also), the following entry gets inserted in the server's config.xml ,-
    <Application Deployed="true" Name="TestWebApp"
    Path="D:\WL8\weblogic81\TestDeploy\build" TwoPhase="true">
    <WebAppComponent Name="TestWebApp" Targets="myserver" URI="TestWebApp"/>
    </Application>
    Now, whenever I make a request of the form "http://localhost:7001/testapp/..",
    it's properly executing my web app. My question is, how does the container knows
    that for any request for the web app with context path as 'testapp', it has to
    server files from D:\WL8\weblogic81\TestDeploy\build\TestWebApp. In the above
    process, nowhere such mapping is specified. I expected something like Tomcat's
    server.xml, where in docbase we clearly specify this mapping between the context
    path and the physical directory. Please help.

    Let me give some more details and hopefully this will make things clearer.
    Say you deploy /foo/bar/myweb.war and in myweb.war you configure a
    context-root of /rob
    During deployment, the server creates an ApplicationMBean with a path of
    /foo/bar/. It then creates a WebAppComponent with a uri of myweb.war.
    Next, deployment calls back on the web container and tells it to deploy
    the WebAppComponent. The web container reads the myweb.war, parses
    descriptors etc. The web container then updates its data structures to
    register that myweb.war has a context path of /rob. (It has to figure
    out all the other servlet mappings as well.)
    When a request for /rob/foo comes in, the web container consults its
    data structures to determine which webapp and servlet receives the
    request. This is not a linear search of all webapps and servlets.
    There's much better ways to do pattern matching.
    Hope this clears things up. Let me know if you still have questions.
    -- Rob
    Arindam Chandra wrote:
    Thanks for the answer. Still one thing is not clear. Whatever context path I declare
    for my web app as the value of <context-root> element in the weblogic.xml (in
    my example it's "/testapp"), it is no where mapped with the "URI" attribute (or
    any other attribute, sub-element whatsoever in the <Application> element).
    Application Deployed="true" Name="TestWebApp"
    Path="D:\WL8\weblogic81\TestDeploy\build" TwoPhase="true">
    <WebAppComponent Name="TestWebApp" Targets="myserver" URI="TestWebApp"/>
    </Application>
    So when a request of the form http://myweblogic.com:7001/testapp/... arrives at
    the server, how does the server knows that it has to serve this request with files
    from D:\WL8\weblogic81\TestDeploy\build\TestWebApp ? It should not be like the
    web container iterates thru all the web application entries in config.xml and
    tries to match with one context-root declaration. I repeat, I expected some mapping
    similar to Tomcat's server.xml, where in the <docbase> element u clearly specify
    the mapping between the context path and the physical directory
    Rob Woollen <[email protected]> wrote:
    Arindam Chandra wrote:
    I'm running Weblogic 7.0 on Windows2000.The physical directory of myweb application
    is D:\WL8\weblogic81\TestDeploy\build\TestWebApp and under these directoryI have
    my JSPS, static HTML and WEB-INF. I define the context path of thisweb app in
    the weblogic.xml ;-
    <weblogic-web-app>
         <context-root>/testapp</context-root>
    </weblogic-web-app>
    As a result of deploying this web app in the server (or it may be createdmanually
    also), the following entry gets inserted in the server's config.xml,-
    <>So the server will look for your web application at the Application Path
    (D:\WL8\weblogic81\TestDeploy\build|) + the web uri (TestWebApp). So
    it
    maps the context-root you've specified /testapp to that path.
    It's a little clearer in the case where you had a full-fledged EAR.
    Then you'r application path would map to the "root" of the EAR, and the
    uris would point to the various modules (eg webapps.)
    -- Rob
    Now, whenever I make a request of the form "http://localhost:7001/testapp/..",
    it's properly executing my web app. My question is, how does the containerknows
    that for any request for the web app with context path as 'testapp',it has to
    server files from D:\WL8\weblogic81\TestDeploy\build\TestWebApp. Inthe above
    process, nowhere such mapping is specified. I expected something likeTomcat's
    server.xml, where in docbase we clearly specify this mapping betweenthe context
    path and the physical directory. Please help.

  • Using the SAX Parser

    As I reported in this thread: Carriage Returns in XSLT output I am trying to produce a text output file with each line terminating in cr-lf (using the output from ViewObject.writeXML() passed through the XSLProcessor.processXSL() method to apply a XSLT stylesheet transformation to it), but the cr characters in the stylesheet are being converted to nl characters, so I am ending up with two nl characters at the end of each line.
    I found a 2002 query (here: http://www.xslt.com/html/xsl-list/2002-04/msg00193.html) by someone with the same problem, and a reply by Steve Muench explaining it and stating that the Oracle SAX parser does not have the same problem.
    So my question now is - does the SAX parser still retain cr characters (or is it too now converting them to nl) and if it does, how do I make XSLProcessor.processXSL() use it rather than the default XML parser? Can I do it from within my code, or does it need to be set in some sort of environment variable? We are on version 9.0.5.2 of JDeveloper(10g)

    Repost

  • Extract Pages- and the Split- not doing what I expect them to

    I have a document created in Illustrator (CS4) which has multiple artboards. I want it split into multiple documents, one art board—> one document with only that artwork. When I use the Extract PAges… and the Split… comands to generate multiple documents, I get the multiple docs (same number of docs created as pages in original doc).
    Only thing is every doc has all the artboards and all the artwork as the original doc. I could understand all the artwork being there but all the artboards also?? What's going on?
    Appreciate any pointers on this.
    Trying to write a JSX to run in AI but struggling so far. Thread for AI solution started here: AS) export single page PDFs from multi-artboards

    I don't expect mind reading but I'l settle for careful reading
    I tried to explain how pages and artboards are qualitatively different objects only to be told they are the same thing and that's all I needed to say.
    I tried to explain that opening the very same file in Illustrator showed a lot more objects than it did in Acrobat. You probably don't remember because you breezed over something that you didn't think you needed to know because you were, at each stage, a step ahead of me (slow down already!).
    From my second post:
    I can't remember if Splitting gave enumerate files or the one file but either way ALL the artwork was in the enumerate files if they got made [.…] I ended up saving as CS3 .ai files which gives a Save artboards to seperate files option and, unlike the artboard range option on Save As PDF, it actually works.
    From my third post
    An artboard is not a page as far as Acrobat and Illustrator apps are concerned. I was trying to highlight the distinctly different way the two apps handle them. I can watch a one page with just one shape document in Acrobat become a 20 artboard, 40+ objects layout in Illustrator. Same document interpreted as one Page in Acrobat and 23 artboards in AI.
    I was on this forum because even a manual Document Menu> Split… command is not doing what I expected with the AI generated 23pp PDF file. I expected the 23 individual 'artboards' and content to each make a separate file.
    Thom Parker wrote:
    I don't remember you mentioning that you re-imported the PDF files into Illustrator.  This is an important detail. You also posted to an Acrobat scripting forum and never said you were not interested in an Acrobat Script.  You also never explained the problem you were seeing.  You were never clear.
    Covered that but note Illustrator doesn't import PDF files. .ai .eps and .pdf are all native files for Illustrator and just open, sometimes with an additional dialogue to choose a page from multiple pages. It imports .dwg, .svg and that sort of thing relying on translator plugins. This is the fourth time I'm saying I should have posted in Acrobat Win or Mac not scripting, apologies I was scripting when I made OP and probably frustrated. You were more clear it's true, clearly ignoring what I was getting at in each post re artboard cf. page objects.
    You see, in a PDF file each page has it's own content stream, i.e., a stream of vector graphics operators.  Graphics can be drawn anywhere in the coordinate space, but the page view is clipped by a crop rectangle.  So graphics can exist in the stream, but never be visible to the user because they are outside the crop.  I get the impression that in Illustrator the Artboards all exist in a single coordinate space? And that the conversion to PDF places this entire coordinate space into a single content stream. Then each page would be a different crop of the same content stream.  If this is the case then I believe there are PDF optimization operations in Acrobat that would fix your problem by removing all content outside the crop. 
    Yeah I've hacked lots of PDF files in AI. They use more than one clipping rect per page from memory. Correct, the artboards are defined in a single co-ord space it would seem — artboards are discretely and independently located on the document canvas and can even overlap each other. Yes those operations might work, I never though of that, I came across an Illustrator based solution early on in this thread. There's no conversion going on in Acrobat though I think, the file stays native PDF from AI to Acrobat and back to AI. As I've noted it's the way Acrobat displays or parses the data that in effect hides all the 'off-page' objects but open the same file in AI and it's all still there. 
    You know, we can't read minds, you actually have to explain what it is you need.
    I didn't know it, but I needed to get a confirmation on the artboardRange property bug in Illustrator CS4 and/or a confirmation that artboards are not treated as page objects, and I ended up having to lecture you on something you may have no interest in, sorry if I've been a pain. This is part of bigger bug elsewhere that I've been trying to get resolved or around on and off for a month. Every turn another bug, it gets confusing and frustrating at times

  • JTextPane and the default PasteAction

    Now here's a really bad problem. I'm writing a custom word processor in Java (isn't everyone?). I'm using a JTextPane, with an assigned HTMLEditorKit and an assigned HTMLDocument. Code as shown below:
        this.vHtmlPane = new JTextPane();
        this.vHtmlKit = new HTMLEditorKit();
        this.vHtmlPane.setLayout(new BorderLayout());
        this.vHtmlPane.setEditorKit(this.vHtmlKit);
        this.vHtmlDoc = new HTMLDocument();
        this.vHtmlPane.setDocument(this.vHtmlDoc);
        this.vHtmlDoc.addUndoableEditListener(this.vUndoMgr);So far so good. Now, following all the documentation I could find, setting up cut and paste is as easy as the following:
        JMenu mEdit = new JMenu("Edit");
        mEdit.add(this.getActionByName(this.vHtmlKit.cutAction));
        mEdit.add(this.getActionByName(this.vHtmlKit.copyAction));
        mEdit.add(this.getActionByName(this.vHtmlKit.pasteAction));Where getActionByName() is implemented from:
      private void createActionTable(HTMLEditorKit htmlKit) {
        this.vActionMap = new HashMap();
        Action[] actions = htmlKit.getActions();
        for(int i = 0; i<actions.length; i++) {
          Action a = actions;
    this.vActionMap.put(a.getValue(Action.NAME),a);
    private Action getActionByName(String name) {
    return (Action)(this.vActionMap.get(name));
    The problem is when I go to paste something using ctrl-v (I'm developing on WinXP). I get an IllegalArgumentException followed by a whole lot of nullpointers and then everything goes to hell. My work machine just hangs, and my home machine reboots. The circumstances are like so:
    ctrl-c from Textpad or Notetabpro or any true text editor - works fine.
    ctrl-c from Mozilla or anything that adds anything remotely like html code to the clipboard - hell in a handbasket.
    I've traced the problem through several levels of the core JDK, and it seems that all the screaming starts in the TransferHandler classes importData(JComponent comp, Transferable t) method. Something about that and the interaction with the HTMLDocument trying to handle the import of html tags. Beyond that I'm kinda stumped. I would have thought that the default behaviour for an HTMLDocument paste would be to url-encode incoming text, but it seems that it pastes it wholesale, at which point the HTMLDocument refreshes and chokes on the tags it did not generate.
    I would appreciate any insight into how to override the default paste action or even better, how to fix it so the default paste action stops blowing up the app. I'd write my own default paste action without bothering the luminaries on this board, but after diving several levels into the EditorKit and finding such things as Flavor and Transferable classes and a PasteAction married to the EditorKit class... it just seemed like I must be missing the trick somehow.
    The particulars:
    Jdk: Sun 1.4.2_04
    IDE: JBuilder X patch 3
    WinXP sans the e-vile SP2 (so I'm on SP1)
    Anyone have any ideas?

    A little more background...
    I traced a paste event all the way through, and I'm getting the fatal error at line 231 in HTMLEditorKit:
        public void read(Reader in, Document doc, int pos) throws IOException, BadLocationException {
         if (doc instanceof HTMLDocument) {
             HTMLDocument hdoc = (HTMLDocument) doc;
             Parser p = getParser();
             if (p == null) {
              throw new IOException("Can't load parser");
             if (pos > doc.getLength()) {
              throw new BadLocationException("Invalid location", pos);
             ParserCallback receiver = hdoc.getReader(pos);
             Boolean ignoreCharset = (Boolean)doc.getProperty("IgnoreCharsetDirective");
             p.parse(in, receiver, (ignoreCharset == null) ? false : ignoreCharset.booleanValue());
             receiver.flush();
         } else {
             super.read(in, doc, pos);
        }Line 231 is the receiver.flush() call, at which point a RuntimeException is thrown and caught at line 212 in the EventDispatchThread class pumpOneEventForHierarchy method.
    C'mon guys - this has got to be a bug! I traced while pasting some text from Notepad and that went fine. Then I pasted from Mozilla, and got the above. I can't see the state of the objects in the core Java classes (can't seem to get JBuilder to show that), but that's what's happening.
    I'm going to hit post on this now, and then stop runtime debugging on JBuilder and watch my computer reboot. Can anyone shed some light on this???

Maybe you are looking for

  • Help with phone memory

    i'm using Nokia N73 Music Edition with 2GB memory card. My problem is that sometgime my phone inform that my memory is fuu and need to delete some data. Dont really understand what it mean. I also like to know how to manage my phone memory.

  • Variable filled Authorizations

    Business Requirement:     There are 50 sales organizations in a company. And BW team does not want me to create 51 roles ie 50 one for each one and one for all. They want me to create 1 role with variable and this variable should be filled in EXIT ro

  • Motion tweens from keyframe vs properties panel

    When motion tweening a grouped object in either Flash 8 or Flash CS3, I get different results depending on whether I use the keyframe or the properties panel to set the tween. If I right-click the first keyframe and select "Create Motion Tween," I ge

  • RAC on AIX

    Does RAC on AIX require HACMP or GPFS?. I think these are licensed products of IBM. Can't I use CRS without HACMP or GPFS?. OS: AIX 6.1 DB : 10.2.0.4

  • Suspend to ram works with powersave daemon but resumes on lid open

    Is there any way to modify this behavior? I have a T60 and utilizing the powersave daemon my suspend to ram works fine, but I can't find a way to stop it from resuming when I open the lid of my laptop. I am using the stock 2.6.19 kernel.