function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AstrocloudAstrocloud 

Mystery XML Error: "Invalid qname for tag 'apex:'" line 0 ???

Hello, and thanks for viewing.

 

I am stumped.

 Description                Resource              Path            Location                          Type
Save error: Invalid qname for tag 'apex:'. Checkout_Paypal.page /Hehehe/src/pages line 0 Force.com save problem

 

 

 

 I am trying to implement a sample using some paypal api's (Constructor code provided as needed). The page that is calling it is this:

 

<apex:page showHeader="false" controller="Checkout_Paypal">
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/style.css')}"/>
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/example.css')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/drop-down.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/AC_RunActiveContent.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/tabber.js')}"/>
<apex:includeScript value="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/jquery.bpopup-0.3.6.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/popup.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript-new.js')}"/>
<div id="main">
  <div id="header">
    <div class="header_logo"><a href="/" target="_self"><apex:image value="{!URLFOR($Resource.MrBellwhistle, 'images/Mr_Bellwhistle_logo.gif')}" alt="Mr Bellwhistle" width="318" height="93" /></a></div>
    <div class="header_text"><a href="#">Returning Customers</a></div>
  </div>
  <!--**********-->
  <div id="top_menu">
    <div class="menu_left"></div>
    <div class="menu">
      <ul id="sddm">
        <!--**************************************-->
        <li class="active"><a class="curve" href="/AboutUs" target="_self">About Us</a></li><li><a href="/page?pageid=a0DA0000003WVskMAG" target="_self" onmouseover="mopen('a0DA0000003WVskMAG')" onmouseout="mclosetime()">Who We Help</a><div id="a0DA0000003WVskMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVskMAG" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WtKKMA0" target="_self">Education</a><a href="/page?pageid=a0DA0000003WVsfMAG" target="_self">Government</a><a href="/page?pageid=a0DA0000003WVrXMAW" target="_self">Social Welfare</a><a href="/page?pageid=a0DA0000003WVsaMAG" target="_self">Other Nonprofits</a></div></li><li><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self" onmouseover="mopen('a0DA0000003WVsVMAW')" onmouseout="mclosetime()">Our Services</a><div id="a0DA0000003WVsVMAW" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WVsQMAW" target="_self">4GTechnology</a><a href="/page?pageid=a0DA0000003WVsLMAW" target="_self">Great Value</a><a href="/PhotoMrGearUSB" target="_self">Product Solutions</a></div></li><li><a href="/page?pageid=a0DA0000003WVsuMAG" target="_self">Coverage</a></li><li><a href="/page?pageid=a0DA0000003Y1MCMA0" target="_self" onmouseover="mopen('a0DA0000003Y1MCMA0')" onmouseout="mclosetime()">Apply for Grant</a><div id="a0DA0000003Y1MCMA0" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"></div></li><li><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self" onmouseover="mopen('a0DA0000003WVrmMAG')" onmouseout="mclosetime()">Resources</a><div id="a0DA0000003WVrmMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self">FAQ</a><a href="/page?pageid=a0DA0000003WVrhMAG" target="_self">News</a><a href="/page?pageid=a0DA0000003WVrcMAG" target="_self">Events</a></div></li><li><a href="/page?pageid=a0DA0000003WVspMAG" target="_self">Contact Us</a></li>
      </ul>
    </div>
    <div class="menu_right"></div>
  </div>
  <!--************-->
  <div id="main_body">
    <div class="Page_ContentInner">
      <div class="Inner_Left">
        <ul>
          <!--***************************************-->
          <apex: form>
          <apex:dataTable value="Ready to Checkout/n" rowClasses="odd,even">
          <apex:column HeaderValue="Product"></apex:column>
          <apex:commandButton action:="{!shop}" value="Buy" />
          </apex:form>
        </ul>
        <div class="Inner_LeftSmall">
          <ul>
            <!--***************************************-->
           
          </ul>
        </div>
      </div>
      <div class="Content_Ipage">
        <span id="j_id0:j_id1:j_id2:j_id24">
       
<apex:image height="199" width="522" value="{!URLFOR($Resource.MrBellwhistle, 'images/Payment.bmp')}" alt="" />


</span>
      </div>
    </div>
    <!--**********************-->
  </div>
  <!--*************-->
</div>
<div id="footer">
  <div class="footer_Content">
   <div class="copy-right">&copy; 2010 Mr Bellwhistle LLC</div>
    <div class="footer_links"><a href="/page?pageid=a0DA0000003WXHwMAO" target="_self">Privacy Policy</a> | <a href="/page?pageid=a0DA0000003Wwt3MAC" target="_self">Terms of Use</a>
    <!--*****************************************************************************************************-->
    </div>
  </div>
</div>

</apex:page>

Best Answer chosen by Admin (Salesforce Developers) 
AstrocloudAstrocloud

Through commenting out suspected text  I found that the issue was within the class definitions page (which uploaded without complaint).

 

For future reference if you see this error -suspect your calls to apex classes.