XMLAgg() length limitations of the content?

Hi all,
Is there a limitation of the content of the XMLAgg() function?
When I do the following query, I've got a result:
SELECT XMLAGG(XMLElement("Company", XMLAttributes(fc.id as "I", fc.short_name as "SN"), fc.name)) as result
FROM fas_companies fc
WHERE fc.analyst_id = p_analyst_id
ORDER BY fc.name;
Is I remove the WHERE-clause, I receave some errors!
<?xml version="1.0" ?>
<!-- 190 -->
<ERROR xsql-timing="190">
oracle.xml.sql.OracleXMLSQLException: '<' cannot appear in attribute value.
</ERROR>

Try to post that here:
Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB
This forum provides you with an opportunity to discuss issues related to XML DB.
XML DB
Joel Pérez

Similar Messages

  • I need to write a Java script to make my Art board bigger by 1 (one) inch on the Width and Length, Regardless of the Content?

    Hi,
    I am currently using "Visible bounds" (java script)to add 1 inch to the width and to the Length of my Art board, but when i make a clipping mask it actually reads the hidden content from the Clipping mask and makes conforms my art board to that particular shape. Am using Adobe illustrator cs6 Here is My Code:
    var myDocs = app.documents;
    var i = 0;
    for (i = myDocs.length-1 ; i >= 0; i--)
        var doc = myDocs[i];
        app.activeDocument= doc;
        var myVisibleBounds = doc.visibleBounds; //Rect, which is an array;
        myVisibleBounds[0] -= 36;
        myVisibleBounds[1] += 36;
        myVisibleBounds[2] += 36;
        myVisibleBounds[3] -= 36;
        doc.artboards[0].artboardRect = myVisibleBounds;
    All i Want is to add 1 inch to my width and length and this does it but if i have a clipping mask it will pick up the bounding box i guess? and it will conform it to the shape... any help please... Try my code and you will see that it does add 1 inch but now make you artboard lest say 12" x 12" and make a shape bigger than the art board and you will see how it adds 1 inch to the art board based on that shape...  now if you make a clipping mask to fit that shape in the 12" x 12" art board you will still get 1 inch bigger than the shape thats being clipped ... 

    yes, visible bounds is reading the non-visible masked objects too.
    you're going to have to do it the hard way, loop through all your objects to get your bounds manually, and while you're at it, test for clipping masks and use the masking path instead.

  • Help me...How to read the content if "Transfer-Encoding:chunked" is used?

    I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
    public class HTTPResponseReader extends HTTPMessageReader
        String statusCode;
        public HTTPResponseReader(InputStream istream) throws IOException,                     NoSuchElementException
      BufferedInputStream distream = new BufferedInputStream(istream);
      retrieveHeader(distream);
      StringTokenizer st =  new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
      versionProtocol = st.nextToken();
      statusCode = st.nextToken();
      String s;
      while (st.hasMoreTokens())
            s = st.nextToken();
            if (s.equals("Transfer-Encoding:"))
           transferEncoding = new String(st.nextToken());
         if (s.equals("Content-Length:"))
           contentLength = Integer.parseInt(st.nextToken());
         if (s.equals("Connection:"))
          connection = new String(st.nextToken());
          if (connection.equals("keep-alive")) mustCloseConnection = false;
       retrieveBody(distream);     
    }After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
    Can anybody help me.
    Thanks in advance...
    Message was edited by:
    VeeraLakshmi

    Why don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
    If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :)

  • I just bought a docking station for my iPad so I could plug into a mixing board and record a live show.  I was disappointed at the time limitation for the recordings.  What is the maximum amount you can record a song into GB for the iPad?

    I purchased a docking station for my iPad so that I could record a live recording of my band directly from a mixing board this weekend using GarageBand.  Unfortunately, I was unaware of the song length limitations of the iPad version of this program.  Basically, was unable to capture more than 15 minutes of the gig.  I've read other conversations on this forum and can't really determine the maximum amount of time this application can record.  Can anyone tell me how long GarageBand for ipad can record at one single time and how to adjust the settings to achieve this?  Also, is anyone aware of any other apps than could be used to record a longer please share.  Thanks.
    CP

    I received an email reply from George, the Founder and CEO of Studiomini, he indicated to me that their app does not have any time limitations in regards to recording like GB does, you are only limited by the amount of free space on your iPad.  Fo what it's worth, I think the Alesis IO Dock is an amazing piece of equipment.  I would highly recommend purchasing the IO Dock and plugging your mixing board into the dock to capture your rehearsal.  Hopefully the feedback I received from Studiomini is accurate and I can capture my entire rehearsal at one time.  I hope this feedback helps.  One last note, apparently their will be a update soon to view Studiomni in the landscape view on the iPad instead of just the portrait view.

  • GPS Cable length limitations?

         Does anyone happen to know the length limitation on the GPS cable?
    I believe I received a 25 foot section of RG174 with the original unit. However, the ideal location in the warehouse would be about 100 feet from the nearest window. Would that be too long? If possible to run that far, would anyone know where to purchase a continuous length of 100 feet?

        Dear Sunrise25,
    I appreciate your interest in our Network Extender. I understand the importance of being able to obtain great signal in and around your home or work location. I am happy to inform you that our Network Extender outpower will range up to 5,000 feet.
    To obtain further information regarding the Network Extender and the requirements needed to purchase a Network Extender click http://bit.ly/AKkC . If you have further questions or concerns regarding the Network Extender, please feel free to reach out to us. We will be more than happy to answer further questions you may have.
    MichelleS_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • Remove "content-length" item from the header of httpServletResponse

    Hi all,
    tomcat6.0, JDK5.0.
    I use tomcat6.0 as the web container and JDK version is 1.5.
    I found tomcat connector will add "content-length" item in all httpServletResponse header.
    But now I need generate some chunked http response.according the RFC, there should be no "content-length" item in the http header when response is chunked-encoding.
    So how can I remove the 'content-length" item from the httpServletResponse header?
    Thanks a lot!
    Rare

    one posting to a question, please:
    http://forum.java.sun.com/thread.jspa?threadID=5268921&tstart=0
    %

  • The entire side moves a bit (in the browser) when the content gets longer than a certain length...

    The master (and all contents) move a few pixles (when watching it in the browser) when a side is longer than 809 pixles.
    The sidesettings are set to 600 pixles minimum. Does not happen (it all stays in place) when the content fits in 809 pixles or less.
    Why?? How do I solve it? Really frustrating...

    Hi
    I'm seeing similar issues from W2003 server, and 9iR2 on W2003.
    I can pinpoint it to exact amount of bytes, but when the connections are reset from the web server, and the problem arises again it's a different length that is the problem.
    As a result we switched to System.Data.OracleClient for the 9iR2 DB's and use the ODP.NET for the 10gR2 installations. These two combinations seems to be less affected by this problem.

  • Lengthening page to the length of the content...

    I've figured out how to make a container or wrapper div and
    stuff everything nicely within with l + r floats.
    If I have a footer, how do I make it stick to the bottom and
    get my left and right (say for example.. #nav and #content) divs to
    extend as long as the content I stick within them?

    Don't give them height values in your CSS.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "danbenner" <[email protected]> wrote in
    message
    news:gjmimg$mhi$[email protected]..
    > I've figured out how to make a container or wrapper div
    and stuff
    > everything
    > nicely within with l + r floats.
    >
    > If I have a footer, how do I make it stick to the bottom
    and get my left
    > and
    > right (say for example.. #nav and #content) divs to
    extend as long as the
    > content I stick within them?
    >
    >

  • Are there any limitations on the amount of content published using Adobe DPS?

    I can not find any information on this and i need to know if there are any as it might pose a problem regarding the publication i am currently looking to make.
    Also, why is there no way to contact customer service? I can not find any forms or e-mail adresses to inquire my questions.
    Best,
    Kim

    Bob,
    We created .IPA files and it behaves pretty much the same as Content Viewer:
    - With the small number of articles (about 30, some having up to 30 pages), it is stable even on iPad1, just a bit slow to render new pages with random browsing.
    But once we added more articles (the target is 150+ as this is the size of content we publish), at some point the app started crashing on both iPad1 and iPad3. The same is for the Content Viewer on iOS.
    I understand your concern as a reader, regarding lengthy articles (your earlier post in this thread). We created a secondary navigation UI to ensure every page in every article can be reached with no more than 3 taps, so it is supposed to be read in a WebSite-alike fashion.
    But, technically speaking, there seems to be a barrier that we are not aware of. This barrier prevents from creating complex and content-rich folios, as good as books created with Apple's iBooks Author. and possibly better.
    Given the lack of definite answers on this particular matter, I started to doubt: is Adobe really interested in supporting folks creating  publications like multimedia references with this product?
    If it appears that DPS/Folio is only suitable for simulating printed glossy magazines and corporate catalogs, than we might have chosen a wrong tool for the job
    But I still hope to get helped...
    Anyone???

  • Item number field length limitation?

    A non-SAP client is presenting a business proposal to a SAP customer and what they want to know is what is the limitation on Item numbers for products for a manufacturing company running SAP ERP? No, we cannot ask the customer, yet!
    I know the SAP is highly customizable but is there a field length limitation or anything else you can tell me?
    Many thanks!
    -Bob

    Hi,
    Pls refer:
    [http://help.sap.com/saphelp_46c/helpdata/en/77/1a39516e36d1118b3f0060b03ca329/content.htm]
    Regards,
    Amit
    Edited by: Amit More on Jun 7, 2008 7:44 AM

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • Content not lining up in the sidebar with the content located in the main area?

    Hello, I’ve created a website using Dreamweaver CS4 and have come across an issue while using a template. The template I’m using is: 2 column fixed, right sidebar, header and footer. The problem seems to be in the sidebar where the content does not start at the top, it seems to be about 15px below the content in the main area. I can't find any CSS or any reason why it's starts where it does. It seems to look like even and as it should in Firefox, Google Chrome and Safari but not in IE9. The page is live at www.Lots2Homes.com and you'll see the content is lower in the right sidebar than in the main area to the left. The code for the home page and CSS is below. This has me going in circles, any help or ideas would be much appreciated. Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- Start of  no right click script -->
    <script type="text/javascript" src="includes/no_right_click.js"></script>
    <!-- End of  no right click script -->
    <meta name="norton-safeweb-site-verification" content="q5pn0zppxw16pngb17u9bt3gtuklju0mr-wug3hpwmudp0h70hgx44yjn2m3235nuxr6l17xlfnqszrz 3q3pjp75afqpecotqbh2pd6c485pxvehuee2wqihtjqa1uut" />
    <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Search the MLS, Professional Buyer Programs, Marketing Plans, NH Information, Free Guides, Short Sale Information, NH Buyer and Seller Representation"/>
    <meta name="keywords" content="New Hampshire, Real Estate, Your Source for New Hampshire Real Estate, NH Real Estate Agent, Paul R. Martin, Buyer Agent, GRI, ABR, e-PRO, SFR, REALTOR, Listing Agent, Portsmouth, home for sale"/>
    <meta name="rating" content="General"/>
    <meta name="revisit-after" content="14 days"/>
    <meta name="Robots" content="All"/>
    <meta name="google-site-verification" content="hch3bvgPs2nwvn-waiOpfg4j9mJJTd5k-OZ-NiGFFr8" />
    <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
    <link rel="icon" href="http://www.lots2homes.com/images/favicon.ico" type="image/favicon.ico"/>
    <title>Lots2Homes.com - Your Source for NH Real Estate</title>
    <link href="css/2012_layout.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .twoColFixRtHdr #mainContent {
    padding: 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
    margin-top: 0;
    margin-right: 344px;
    margin-bottom: 0;
    margin-left: 0;
    background-image: url(images/2-column/main-middle.png);
    background-repeat: repeat-y;
    .twoColFixRtHdr #sidebar1 {
    float: right; /* since this element is floated, a width must be given */
    width: 344px;
    padding:0px;
    margin:0px;
    background-image: url(images/2-column/r-sidebar-middle.png);
    background-repeat: repeat-y;
    -->
    </style><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixRtHdr #sidebar1 { width: 220px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        <?php require_once('includes/back_ground.php'); ?>
    </style>
    <script type="text/javascript">
        // <![CDATA[
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    // ]]>
    </script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-24136715-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    a:hover {
    color: #F00;
    -->
    </style></head>
    <body class="twoColFixRtHdr">
    <div id="container">
    <div id="header_flash_window">
      <?php require('includes/header_flash.php'); ?>
    </div>
      <div id="header">
        <?php require('includes/header.php'); ?>
      <!-- end #header --></div>
      <div id="navigation">
    <?php require('includes/navbar.php'); ?>
    </div><!--close nav-->
    <div id="top"></div>
    <div id="sidebar1">
    <div id="content">
    <div id="social-media-buttons">
      <a href="http://www.facebook.com/EPRO.AGENT" target="_blank"><img src="images/social_media/facebook_32.png" name="facebook_icon" width="35" height="36" border="0" id="facebook_icon" alt="Paul Martin facebook" /></a>
      <a href="http://www.flickr.com/lots2homes" target="_blank"><img src="images/social_media/flickr_32.png" name="flickr_icon" width="36" height="36" border="0" id="flickr_icon" alt="Paul Martin Flicker" /></a>
      <a href="http://www.linkedin.com/in/paulrmartin" target="_blank"><img src="images/social_media/linkedin_32.png" name="linkedin_icon" width="35" height="37" border="0" id="linkedin_icon" alt="Paul Martin Linkedin" /></a>
      <a href="http://www.lots2homes.com/weblog/" target="_blank"><img src="images/social_media/wordpress_32.png" name="wordpress_icon" width="35" height="36" border="0" id="wordpress_icon" alt="Paul Martin Wordpress" /></a>
      <a href="http://www.youtube.com/user/EstatesNland" target="_blank"><img src="images/social_media/youtube_32.png" name="youtube_icon" width="36" height="37" border="0" id="youtube_icon" alt="Paul Martin Youtube" /></a>
    <a href="http://www.delicious.com/save" target="_blank" onclick="window.open('http://www.delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(location.href)+ '&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;"><img src="images/social_media/delicious_32.png" alt="Paul Martin Delicious" width="35" height="36" border="0" /></a>
    <a href="http://twitter.com/#!/Lots2Homes" target="_blank"><img src="images/social_media/twitter_32.png" alt="Paul Martin Twitter" width="35" height="36" border="0" /></a>
    </div>
    <div id="index_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FEPRO.AGENT&a mp;send=false&amp;layout=standard&amp;width=292&amp;show_faces=true&amp;action=like&amp;co lorscheme=light&amp;font=tahoma&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:80px;" allowTransparency="true"></iframe></div>
    <div id="stick"><div id="stik" style="width:225px;height:75px;text-align:center;"><a href= "http://www.stik.com/paul.martin" class="il" target="blank" style="position:relative;display:block;"><img src="http://www.stik.com/badge/image?v=1&amp;stikid=1005641" alt="Paul Martin, Realtor at Keller Williams Coastal Realty, is Recommended and Reviewed at Stik.com" title="Paul Martin, Realtor at Keller Williams Coastal Realty, is Recommended and Reviewed at Stik.com" style="border:0px; margin:0px;" /><iframe src= "http://www.stik.com/badge/frame?v=1&amp;stikid=1005641" frameBorder="0" scrolling="no" style="width:116px;height:36px; border:0px; position:absolute;left:98px; top:0px;"></iframe><br/></a><div class="l" style="height:18px;"><a href="http://www.stik.com/paul.martin" target="blank" style="font-family:Arial;font-size:9px;color:#3B5998;text-decoration:none;font-weight:nor mal;">Read Recommendations and Reviews on</a> <a href="http://www.stik.com" target="blank" style="font-family:Arial;font-size:9px;color:#3B5998;text-decoration:none;font-weight:nor mal;">Stik.com</a></div></div></div>
    <hr/>
    <div id="my_listings">
    <h2>My Current Listings</h2>
          <div id="Accordion1" class="Accordion">
            <div class="AccordionPanel">
              <div class="AccordionPanelTab">$139,900 - Raymond Ranch</div>
              <div class="AccordionPanelContent"><a href="listing_page_24_sesame.php"><img src="images/listings/24_sesame.jpg" width="299" height="198" alt="24 Sesame St St Raymond, NH" /></a></div>
            </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$194,900 - Northwood Ranch</div>
              <div class="AccordionPanelContent"><a href="listing_page_27_bass.php"><img src="images/listings/Harvey-Lake-Home-Northwood,.jpg" width="299" height="198" alt="27 Bass Rd Northwood, NH" /></a></div>
            </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$249,900 - Milton Custom Cape</div>
              <div class="AccordionPanelContent"><a href="listing_page_99_gold_milton.php"><img src="images/listings/99_gold_st.jpg" width="299" height="198" alt="99 Gold St Milton NH for sale by Paul Martin and Keller Williams Coastal Realty" /></a></div>
            </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$159,900 - Effingham Multi Unit</div>
              <div class="AccordionPanelContent"><a href="listing_page_108_champion_hill.php"><img src="images/listings/108_champion_hill.jpg" width="299" height="198" alt="108 Champion Hill Rd Effingham, NH" /></a></div>
            </div>
            <div class="AccordionPanel">
              <div class="AccordionPanelTab">$324,900 - Epsom Colonial</div>
              <div class="AccordionPanelContent"><a href="listing_page_206_copperline_epsom.php"><img src="images/listings/206_copperline/199x198.jpg" width="299" height="198" alt="206 Copperline Rd Epsom, NH" /></a></div>
            </div>
            <div class="AccordionPanel">
              <div class="AccordionPanelTab">$189,900 - Middleton Ranch</div>
      <div class="AccordionPanelContent"><a href="listing_page_60_lakeshore_middleton.php"><img src="images/listings/Sunrise-Lake-Home.jpg" width="299" height="198" alt="60 Lakeshore Dr Middleton, NH" /></a></div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$259,900 - Exeter Duplex</div>
      <div class="AccordionPanelContent"><a href="listing_page_34_36_south_st.php"><img src="images/listings/34_36_south_st.jpg" width="299" height="198" alt="34-36 South St Exeter, NH" /></a></div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$249,900 - Sunrise Lake Ranch</div>
              <div class="AccordionPanelContent"><a href="listing_page_86_lakeshore.php"><img src="images/listings/86-Lakeshore-Dr.jpg" width="299" height="198" alt="86 Lakeshore Dr Middleton, NH" /></a></div>
            </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$249,000 - Dover Point Colonial</div>
      <div class="AccordionPanelContent"><img src="images/listings/Colonial-Condex.jpg" width="299" height="198" alt="Dover Point Colonial sold by Paul Martin" /></div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$235,500 - Chichester Cape</div>
      <div class="AccordionPanelContent"><img src="images/listings/26_cross_rd.jpg" width="299" height="198" alt="Sold by Paul Martin" /></div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">$295,000 - Londonderry Colonial</div>
      <div class="AccordionPanelContent"><img src="images/listings/25_king_henry.jpg" width="299" height="198" alt="Sold by Paul Martin" /></div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Put Your Home for Sale Here!</div>
              <div class="AccordionPanelContent"><img src="images/listing_ad.jpg" width="299" height="198" alt="List your home for sale on Lots2Homes.com" /></div>
            </div>
          </div>
    </div>
    <hr />
    <div id="info_1">
    <h2>Will 2012 See Improvement? </h2>
    <p>by Carla Hill<br />
    <br />
    We’ve seen the effects of tight mortgage conditions over the last year. Existing and new homes sales have struggled and we are now left with sizable pent-up demand. Will this trend continue into 2012?<br />
    <br />
      For starters, consumer prices fell in October, meaning low wage workers and others struggling to make ends meet will find more affordability...
      <br />
    <br />
    <a href="Read" _mce_href="http://realtytimes.com/rtpages/20111121_realestateoutlook.htm">Read">http://re altytimes.com/rtpages/20111121_realestateoutlook.htm">Read More</a></p>
    </div>
    <hr />
    <div id="info_2">
    <h2>Timing the Real Estate Cycle</h2>
    <p>by Paul Martin<br />
    <br />
    Real estate cycles are created by an imbalance that occurs between the supply of available homes on the market and demand for these homes by ready willing and able buyers.<br />
    <br />
    The reasons for an over or under supply of homes and an over or under demand for these homes can differ from one cycle to another...<br />
    <br />
    <a href="Read" _mce_href="http://www.lots2homes.com/weblog/?p=84">Read">http://www.lots2homes.com/weblog /?p=84">Read More</a></p>
    </div>
    <hr />
    <div id="info_3">
    <h2>Thinking about a Short Sale?</h2>
    <p>If you're looking for Short Sale Information and assistance, I can help. As an SFR (Short Sale and Foreclosure Resource Specialist) and a LMC (Loss Mitigation Consultant), Shorts sales are one of my specialties!<br />
    <br />
    Don't lose time, call me today! I work hand in hand with The Loan Workout Group out of the Cater Law Office in Londonderry, one of New Hampshire’s most experienced and premiere Short Sale specialists. Together we work as a team to get your short sale accepted and your home sold in time to save you from foreclosure. </p>
    </div>
    <hr />
      <div id="sidebar_flash_ad">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="214" height="320" id="FlashID3" title="Loan Workout Group Ad">
          <param name="movie" value="flash/loan_workout_group.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="flash/loan_workout_group.swf" width="214" height="320">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </div>
    </div>
         <div id="sidebar-bottom"></div>
      <!-- end #sidebar1 --></div>
    <div id="mainContent">
       <div id="content">
    <div id="welcome_message">
      <h1>Welcome to Lots2Homes.com - Your Source for NH Real Estate</h1>
    <p>As a New Hampshire REALTOR®, I designed and built <span class="bold">Lots2Homes.com</span> specifically to help people looking to purchase homes here in New Hampshire and to give our local home sellers an edge through technology driven marketing. The goal here on <span class="bold">Lots2Homes.com</span> is to become your leading source for NH real estate information and a helpful guide to purchasing and selling homes in the Rockingham, Strafford and Belknap county area.<br />
    <br />
    Here on <span class="bold">Lots2Homes.com</span> home buyers can search for available homes on the local MLS, sign up for automatic search notifications and look up information on every town found here in NH. Buyers also can receive great home buying tips through my complimentary <a href="buyer_guides.php">BUYER GUIDES</a> and get information on my full service <a href="my_buyers_program.php">Buyer Representation</a> as an <span class="bold">ABR REALTOR®</span>. My buyer program comes at no cost and can assist you from beginning to end in home buying process. It will help you to take advantage of the great buyer’s market were experiencing and it comes complete with a <a href="my_buyers_program.php">Buyer Bonus</a> just for signing up!<br />
    <br />
    Home sellers can get information here on how the local and <a href="housing_prices.php">national housing market</a> is trending and how leading edge marketing technology can help them sell their home in today’s challenging market conditions. Sellers will also be able to get information on how to price their home competitively with the help of a Pricing Study Analysis and find out how I’m helping NH home sellers succeed in today’s market as and <span class="bold">e-PRO Marketing Specialist</span> through <a href="my_marketing_plan.php">My Marketing Plan</a>. </p>
    </div>
    <hr/>
    <h2>Search for available New Hampshire Homes Now!</h2>
    <div id="quick_search_area"><img src="images/buttons/home-page-search.png" alt="Search for Homes Now" width="599" height="300" border="0" usemap="#Map2" />
      <map name="Map2" id="Map2">
        <area shape="rect" coords="40,28,274,223" href="http://www.lots2homes.idxco.com/idx/6152/basicSearch.php" target="_self" alt="MLS Quick Search" />
        <area shape="rect" coords="320,29,554,223" href="http://www.lots2homes.idxco.com/idx/6152/mapSearch.php" target="_self" alt="MLS Map Search" />
        <area shape="rect" coords="407,263,557,291" href="http://www.lots2homes.idxco.com/idx/6152/advancedSearch.php" target="_self" alt="MLS Advanced Search" />
      </map>
    </div>
    <br />
    <hr/>
    <div id="featured_property_title"><img src="images/featured_property_title.png" width="351" height="49" alt="Featured Property" /></div>
       <div id="featured_listing">
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="212" height="132" id="FlashID2" title="27 Bass Rd Northwood, NH">
           <param name="movie" value="flash/27_bass.swf" />
           <param name="quality" value="high" />
           <param name="wmode" value="opaque" />
           <param name="swfversion" value="6.0.65.0" />
           <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
           <param name="expressinstall" value="Scripts/expressInstall.swf" />
           <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
           <!--[if !IE]>-->
           <object type="application/x-shockwave-flash" data="flash/27_bass.swf" width="212" height="132">
             <!--<![endif]-->
             <param name="quality" value="high" />
             <param name="wmode" value="opaque" />
             <param name="swfversion" value="6.0.65.0" />
             <param name="expressinstall" value="Scripts/expressInstall.swf" />
             <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
             <div>
               <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
               <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
             </div>
             <!--[if !IE]>-->
           </object>
           <!--<![endif]-->
         </object>
         <a href="listing_page_27_bass.php"><img src="images/featured_properties/27_bass_northwood.jpg" width="630" height="480" alt="Featured Listing" /></a></div>
      <br />
    <hr />
      <div id="buyer_program">
         <h2>My Buyers Program</h2>
        <p>In today's competitive real  estate market, timing and knowledge is everything. Do you have your home buying  strategy in place yet?<br />
          <br />
          As one of New Hampshire's Accredited Buyer Representative REALTORS®,  helping home buyers to succeed is one of my specialties. My program can assist you with:</p>
          <div id="abr_logo"><img src="images/icons/abr_oval_196.png" width="196" height="123" alt="ABR logo" /></div>
    <ul id="list">
      <li>Locating available homes that fit your search criteria in your preferred areas</li>
           <li>Negotiate price, terms and conditions that fit your needs and protect your interest</li>
           <li>Coordinate home inspections and the preparation of closing documents</li>
           <li>Resolve any closing issues as they arise to keep you on track  </li>
             <li>help you get the keys to your new home!</li>
          </ul>
    <p><span class="bold">Contact me today or</span> <a href="my_buyers_program.php" class="bold">READ MORE HERE</a><span class="bold"> for more information on</span> <a href="my_buyers_program.php" class="bold">My Buyers Program</a></p>
       </div>
       <hr/>
       <div id="marketing_plan">
       <h2>My Marketing Plan</h2>
       <p>Home Sellers face challenging market conditions these days. Gone are the days of just needing a sign out front to sell your home quickly  and for a great price. Buyers today have a crowded market to choose from and most are tech savvy as well. <br />
       </p>
       <div id="epro-logo"><a href="epro.php"><img src="images/icons/ePRO_196.png" alt="e-PRO logo" width="196" height="107" border="0" usemap="#Map3" /></a>
         <map name="Map3" id="Map3">
           <area shape="poly" coords="3,39,32,64,32,104,83,103,82,71,143,67,184,55,192,39,188,23,158,8,99,1,46,5,19,14, 4,26" href="#" />
         </map>
       </div>
       <p> They want to see as much as possible of your home online before making an appointment to see it in person.
         That's where my marketing expertise excels.<br />
      <br />
         As one of the few<span class="italic_and_bold"> e-PRO REALTORS®</span> in New Hampshire, I've been trained in all the latest web marketing techniques. <br />
      <br />
         I combine the power of web marketing with traditional marketing methods to maximize your home's exposure in a crowded market place.</p>
      <br />
      <center><span class="bold">Contact me today or</span> <a href="my_marketing_plan.php" class="bold">READ MORE HERE</a><span class="bold"> for more information on</span> <a href="my_marketing_plan.php" class="bold">My Marketing Plan</a></center>
       </div>
       <hr/>
       <div id="media-1">
    <div id="video-1">
      <embed src="http://c.brightcove.com/services/viewer/federated_f8/1465406675" bgcolor="#FFFFFF" flashvars="videoId=1288013534001&playerId=1465406675&viewerSecureGatewayURL=https://console.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove. com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=false&" base="http://admin.brightcove.com" name="flashObj" width="400" height="320" seamlesstabbing="false" type="application/x-shockwave-flash" swliveconnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></e mbed>
    </div>
          <div id="video-1_text">
       <h3>October Existing-Home Sales Rise, While the Unsold Inventory Continues to Decline</h3>
       <hr />
       <p>Washington, DC, November 21, 2011
    Existing-home sales improved in October while the number of homes on the market continued to decline, according to the National Association of Realtors®.<br />
          Read more and get the full story  on <a href="REALTOR.Org.http://www.realtor.org/press_room/news_releases/2011/11/ehs_oct">REALTOR.Org.</a><a href="&lt;img src=&quot;images/icons/Realtor_org-logo_thumb.jpg&quot; width=&quot;160&quot; height=&quot;90&quot; alt=&quot;REALTOR.Org&quot; /&gt;"><img src="images/icons/Realtor_org-small.jpg" width="80" height="47" alt="Realtor.org" /></a></p>
        </div>
      </div>
      </div>
        <div id="main-bottom"></div>
    <!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
    <div id="footer">
    <?php require('includes/footer_menu_6.php'); ?>
      </div>
    <!-- end #container --></div>
    </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID2");
    swfobject.registerObject("FlashID2");
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>
    @charset "utf-8";
    /* CSS Document */
    #mainContent {
    padding: 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
    margin-top: 0;
    margin-right: 344px;
    margin-bottom: 0;
    margin-left: 0;
    background-repeat: repeat-y;
    background-image: url(../images/2-column/main-middle.png);
    #sidebar1 {
    float: right; /* since this element is floated, a width must be given */
    width: 344px;
    padding:0px;
    margin:0px;
    background-repeat: repeat-y;
    background-image: url(../images/2-column/r-sidebar-middle.png);
    body  {
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    background-color: #5783A6;
    p {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: justify;
    a img {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    h1 {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 20px;
    text-decoration: underline;
    margin: 0px;
    h2 {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 18px;
    text-align: center;
    margin: 0px;
    h3 {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    h4 {
    font-family: "Comic Sans MS", cursive;
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
    a {
    font-weight: bold;
    text-decoration: underline;
    color: #900;
    hr {
    margin-top: 10px;
    margin-bottom: 10px;
    #container {
    width: 1024px; /* the auto margins (in conjunction with a width) center the page */
    text-align: left; /* this overrides the text-align: center on the body element. */
    margin-right: auto;
    margin-left: auto;
    background-repeat: repeat-y;
    background-image: url(../images/2-column/bg.png);
    margin-top: 0px;
    padding: 0px;
    #header {
    padding-top: 0;
    padding-right: 0px;
    padding-bottom: 0;
    padding-left: 0px;
    background-image: url(images/2-column/bg.png);
    background-repeat: repeat-y;
    #container #top {
    background-image: url(../images/extention_page/2_column/2_column_top_wide.png);
    background-repeat: no-repeat;
    width: 1024px;
    height: 38px;
    padding: 0px;
    #footer {
    padding: 0;
    background-image: url(images/2-column/bg.png);
    background-repeat: repeat-y;
    #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #container #header_flash_window {
    position: absolute;
    margin-top: 182px;
    margin-left: 239px;
    border: 1px solid #848484;
    #container #sidebar1 #sidebar-bottom {
    background-image: url(../images/2-column/r-sidebar-bottom.png);
    background-repeat: no-repeat;
    height: 33px;
    #container #mainContent #main-bottom {
    background-image: url(../images/2-column/main-bottom.png);
    background-repeat: no-repeat;
    height: 33px;
    #container #sidebar1 #content {
    padding-right: 16px;
    padding-left: 13px;
    padding-bottom: 10px;
    padding-top: 0px;
    margin-top: 0px;
    #mainContent #content {
    padding-right: 16px;
    padding-left: 30px;
    #mainContent #content #quick_search_area {
    padding-left: 20px;
    #content #featured_property_title {
    padding-left: 140px;
    #content #featured_listing #FlashID2 {
    clear: both;
    float: none;
    margin-top: 292px;
    margin-left: 391px;
    position: absolute;
    #mainContent #content #buyer_program #abr_logo {
    width: 196px;
    float: right;
    #mainContent #content #buyer_program #list li {
    font-size: 16px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    #mainContent #content #marketing_plan #epro-logo {
    width: 196px;
    float: left;
    margin-right: 15px;
    #container #mainContent #content #marketing_plan p .bold {
    text-align: left;
    #container #mainContent #content #media-1 {
    width: 640px;
    height: 340px;
    #mainContent #content #media-1 #video-1 {
    width: 400px;
    float: left;
    #mainContent #content #media-1 #video-1_text {
    height: 320px;
    width: 220px;
    margin-left: 400px;
    margin-top: 0px;
    padding-top: 0px;
    padding-right: 5px;
    padding-left: 10px;
    #mainContent #content #media-1 #video-1_text p a img {
    float: right;
    margin-right: 65px;
    margin-top: 15px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    #container #sidebar1 #content #stick {
    padding-left: 44px;
    #container #sidebar1 #content #social-media-buttons {
    margin-bottom: 0px;
    margin-left: 22px;
    #container #sidebar1 #content #index_like {
    padding-left: 12px;
    #sidebar1 #content #my_listings {
    padding-left: 7px;
    #sidebar1 #content #info_1 {
    padding-right: 15px;
    padding-left: 15px;
    #sidebar1 #content #info_2 {
    padding-right: 15px;
    padding-left: 15px;
    #sidebar1 #content #info_3 {
    padding-right: 15px;
    padding-left: 15px;
    #sidebar1 #content #sidebar_flash_ad {
    padding-left: 50px;
    #container #container #mainContent2 {
    background-image: url(../images/2-column/thin-sidebar/main-middle.png);
    background-repeat: repeat-y;
    margin-right: 269px;
    #container #container #sidebar2 {
    width: 269px;
    float: right;
    background-image: url(../images/2-column/thin-sidebar/sidebar-middle.png);
    background-repeat: repeat-y;
    #container #sidebar2 #content {
    padding-right: 15px;
    padding-left: 11px;
    #sidebar2 #content #info-1 {
    padding-right: 10px;
    padding-left: 10px;
    #mainContent2 #main-bottom2 {
    background-image: url(../images/2-column/thin-sidebar/main-bottom.png);
    background-repeat: no-repeat;
    height: 33px;
    #mainContent2 #content {
    padding-left: 30px;
    padding-right: 15px;
    #sidebar2 #sidebar-bottom2 {
    background-image: url(../images/2-column/thin-sidebar/sidebar-bottom.png);
    background-repeat: no-repeat;
    height: 33px;
    #sidebar2 #content #paul_logo {
    margin-left: 7px;
    #listings-table table tr td {
    border: 1px solid 484848;
    height: 199px;
    width: 299px;
    #listings-table table tr td img {
    border: 1px solid #000;
    #navigation {
    height: 32px;
    margin: 0px;

    Your template contains an IE Conditional Comment that is adding 30px of top padding to  #sidebar1.  This padding may required in older versions of IE but not IE9.
    &lt;!--[if IE]>
    &lt;style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    &lt;![endif]-->
    To fix it, change [if IE]  to [if lt IE 9]
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Displaying the contents of an array of objects

    Hello All,
    My Java teacher gave us a challenge and I'm stumped. The teacher wants us to display the contents of the array in the main menthod. The original code is as follows:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
    }I understand that the elements of the array are objects, and each one has a value assigned to it. The following code was my first attempt at a solution:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
                                    for ( int i = 0; i < thingArray.length; i++)
                                       System.out.println( thingArray );                         
    }To which I'm given what amounts to garbage output. I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array. There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. Thanks very much in advance!

    robrom78 wrote:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
    for ( int i = 0; i < thingArray.length; i++)
    System.out.println( thingArray );                         
    Note that you're trying to print the entire array at every loop iteration. That's probably not what you meant to do.
    You probably meant to do something more like
                                 System.out.println( thingArray[i] );Also, note that the java.util.Arrays class has a toString method that might be useful.
    To which I'm given what amounts to garbage output. It's not garbage. It's the default output to toString() for arrays, which is in fact the toString() defined for java.lang.Object (and inherited by arrays).
    I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array.It displays a default result that is vaguely related to the memory, but probably shouldn't be thought of us such. Think of it as identifying the type of object, and a value that differentiates it from other objects of the same type.
    By the way I assume you mean "+not+ the contents of the array" above. If so, that is correct.
    There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? No, you don't override a method in println; actually methods don't contain other methods directly. You probably do need to override toString in Thing.
    I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. You can get to the individual objects in the array just by dereferencing it, as I showed you above.
    But I suspect that won't be sufficient. Most likely, Thing doesn't have a toString method defined. This means that you'll end up with very similar output, but it will say "Thing" instead of "[Thing" and the numbers to the right of the "@" will be different.
    You'll need to override the toString() method in Thing to get the output you want.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Displaying the contents of internal table- in email Step of workflows

    Hello Folks,
    I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow:
    My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each content of the <WA>. This will be a problem as, if there are like 1000 records in the internal table, then workflows will be called 1000 times...sending 1000 emails..
    My requirement is that we need to send a single email to the single person, displaying the content of the internal table in the email body......
    My question
    1) Is this scenario possible through worflows ?
    2) If not, please provide an alternative ..
    Thanks
    Anand

    Do you mean to say that just by inserting the multiline element
    within the body of the 'Send email' step type, the contents
    of the multiline element is displayed automatically without
    we having to loop at it somehow ?
    Follow the below apporach,
    1. First create a multiline container element in the workflow conatiner.
    2. Populate the internla table , by using the bor methods and pass back the populated ITAB to the WF by using the binding concept.
    3. Now create a mail step in the workflow, you have the option of inserting the workflow container elements into the mail conten, so insert the multiline container element , then it prompts to select the option like a) Do you liek to display only first line b) Display the ITAB line by line c) Display ITAB lines continuously with out line break.
    4. based upon the requirement select any one of the options.
    Note: Make sure the line length of the ITAB won't excced 132 charecters, because the send mail step will consider only 132 characters.

  • Length limits of Motion?

    I've been working on preparations for a rather large DVD project for a month or so now, and I have been experiencing some trouble with exporting from Motion. In total I aim to make 3 DVDs, and I have mapped out the first disc to be about 60 video tracks, 13 motion menus and about 90+ still menus... and thus far my plan has been to export these all from Motion.
    About half of the clips I need to make are between 1 and 2 min, and those are working just fine ( aside from client style choices... grrr). But the other half of the clips range from 3 min to as long as 15 min. When I try to export these they fail overnight and result in a file I can't open anywhere (I've sent Apple a lot of error reports lately). Last night an export 'died' rather than failing? Er... well... the resulting file was viewable, but it ended early and the last few frames looked like this:
    http://www.flickr.com/photos/12765641@N08/sets/72157624426471397
    Just recently I upgraded the graphics card in my Mac Pro from a standard 'NVIDIA GeForce GT 120' to the 'ATI Radeon HD 4870' (as far as I could tell in my research the best card currently available for Motion, best being very near the speed of and less bugie than Nvidia's Quadro FX 4800). Preview frame rates and estimated render times are much improved, but the same renders are crashing overnight...
    I am currently considering upgrading the amount of RAM in the machine from 6Gb to 12 or 16 or ? But I found this post and was looking for further insight...
    http://discussions.apple.com/message.jspa?messageID=635107
    "20 minutes! Holy Frijole! Motion is not made for something this huge. Motion loads everything into memory. 20 x 60 x 30 = 36,000 megabytes - or 36 gigabytes."
    Please explain 20(min?) x 60(sec?) x 30(fps?)? is 1 Mb pr frame an actual metric for Motion? so at 6Gb of RAM I should be able to export a 3:30 length clip? (this seems consistent with my lengths of failed and successful exports thus far)
    Is there an 'Apple suggested' or 'community known' length recommendation for a Motion Project? If so, does the content complexity or resolution of a project affect this length? (I'm creating the whole thing HD for possible future Blu-Ray authoring, but this project in it's current form will go to standard definition DVD)
    Why do I want to export 15 min clips from motion in the first place? My project is a 'Video Textbook' with multiple ways to traverse the content (thus the ridiculous number of menus and tracks). There are 3 components to pretty much every frame in the project. Video or animated still images on the left, text fading in and out on the right summarizing some of the dialogue or Voice over and verbatim transcript for other parts, and at the bottom of the frame a timeline showing the user where they are, progress wise, at all times on the disc. The video I have been given is all poorly shot Green Screen footage, some of it I have been able to squeeze a Key out of, but with a good chunk of it I am just conceding defeat and making it look like a white room on an old TV screen...(Re-Shoot has been begged and pleaded for...) Essentially all the video content have motion effects applied to them, the amount of text would be far to un-wieldy for Final Cut, and the Timeline is all built in Motion as well... far as I can tell, everything capital 'N' need's motion, is there a better way?
    ....I have conceded at this point that I will probably just have to make some changes to my proposed workflow for this project... But regarding which changes to make, would it help to export each of my three parts individually and then combine them in Final Cut or will the lengths of segments still kill motion even at much less complexity? Or is it the case that I should just export everything in chunks no bigger than 3 min? How else could I get this stuff exported?
    Running Motion 4.0.2 and FCP 7.0.2
    Any ideas, thoughts or suggestions would be greatly appreciated!
    -mjwill

    Came in this morning to find Final Cut Pro displaying "Codec Error", so as I was re-checking what codec I was using, Final Cut Crashed...
    https://docs.google.com/document/edit?id=1f5jIyrkRyM0WWtHsRRaQMbQz44Wb5utyCsJE77 avGyo&hl=en&authkey=CMnew_gN
    I found out that the someone set the default project for this machine to HDV (ew), so I changed it to 1920 X 1080 ProRes, and I'll try again...
    I looked in the console and it looks like this (below) had been on repeat for about 2 hours, during my render attempt, it filled the whole scrolling area in the console with about 1/2hrs worth....
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] Final Cut Pro(181,0xa01eb500) malloc: * mmap(size=268439552) failed (error code=12)
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * error: can't allocate region
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * set a breakpoint in mallocerrorbreak to debug
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] Final Cut Pro(181,0xa01eb500) malloc: * mmap(size=268439552) failed (error code=12)
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * error: can't allocate region
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * set a breakpoint in mallocerrorbreak to debug
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] Final Cut Pro(181,0xa01eb500) malloc: * mmap(size=268439552) failed (error code=12)
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * error: can't allocate region
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * set a breakpoint in mallocerrorbreak to debug
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] Final Cut Pro(181,0xa01eb500) malloc: * mmap(size=16777216) failed (error code=12)
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * error: can't allocate region
    7/21/10 7:35:58 PM [0x0-0x23023].com.apple.FinalCutPro[181] * set a breakpoint in mallocerrorbreak to debug
    Thanks again,
    -Mark

Maybe you are looking for

  • Error in 11.1.2 - awb

    Hi All, I have installed the entire suite of 11.1.2 and all the services are starting correctly and i can able to access shared services URL and also Essbase Administration console and Planning. But the problem is i am unable to access any other hype

  • Creating data source in R/3 system from more than one table.

    Hi All, Currently I have a requirement where I need to bring  data in BW from 5 different table in the CM (our R/3 system) system. How do I achieve this? If I create a generic datasource, how can I map 5 tables in a single datasource? Please detail t

  • Can I modify a question slide to include more than 5 qs in same slide

    Hey everyone. I'd like to know If I can modify a question slide to include more than one question in the same slide. I'd like to include a slide with audio and some video in the left page and on the right page I'd like to include a q slide that can h

  • How can I save Address book on a memory stick in case of a system crash

    Saving Address book on a memory stick for up to date data security in the event of a system crash where recovering system will not have an up to date Address Book

  • Which is better, many PXI cards or fewer PXI cards with more SCXI cards?

    I have a pretty basic question.  Which is "better", using multiple PXI cards for analog inputs or a single PXI card and multiple SCXI cards?  For example, if I have say 100 channels to sample (all at the same rate), I could use 2 6225s at 80 ch each.