Xerces Validation Issues with Honour All schema Locations

Way back in 2009/2010 there was a bug - 284272 - that was never updated with Xerces information about validation. We have a similar issue in Luna and Mars with the WTP validation framework (with Xerxes at the center) and I'm wondering if it's due to Xerces 2.9 or something else.
I'm not a savvy XSD guy, but the issues detailed in 284272 still occur for us with certain schema combinations. We're encountering it specifically with the JBoss/SwitchYard project and the SCA schemas we extend for the SwitchYard runtime.
The following error is displayed in the Problems tab:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'sca:interface.java'. One of '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, "http://docs.oasis-open.org/ns/opencsa/sca/200912":interface, "http://docs.oasis-open.org/ns/opencsa/sca/200912":binding, "http://docs.oasis-open.org/ns/opencsa/sca/200912":callback, "http://docs.oasis-open.org/ns/opencsa/sca/200912":requires, "http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment, "http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected. switchyard.xml src/main/resources/META-INF line 7 XML Problem
Can someone revisit 284272 and let me know if this is indeed a Xerxes issue under the covers with the example included in the bug? It's not our example, but has the same general problem.
I just don't want to open a duplicate of 284272 without knowing more about how the Honour All Schema Locations stuff works under the covers and if it is indeed caused by Xerces - indeed if it might be fixed by an update to Xerces further down the line (they're up to 2.11 and there was a 2.9.1 it looks like we might be able to more simply move to if it's fixed there).
Thanks all!
--Fitz

I think this is the odata4 that you need for 7.3
SCA
ODATACXFEXT11_0-10012140.SCA
SP11 for SAP ODATA4J+CXF-REST LIB 7.30
0
Info
10352
26.02.2014
This might be the only package you need; it might be in your best interest to avoid manually downloading files and rely upon Solution Manager's MOpz feature to query your IdM system and let it track down all the needed packages.

Similar Messages

  • Validation issues with form (was: Validation)

    I am having validation issues with my form.  Even after I put in a name and last name it says the entries are invalid.  Could this be a hosting problem?  www.bussmanncomputers.net/Nx

    Below is mail form from my isp, which is Godaddy:
    This is the form that I am having some problems with configuring.
    <?php
    if ( !isset($_SERVER['SPI'])) {
            die();
    if (!isset($_SERVER['DOCUMENT_ROOT'])) {
            echo("CRITICAL: we seem to be running outside of the norm.\n");
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
            die("CRITICAL: Document root unavailable.\n");
    $request_method = $_SERVER["REQUEST_METHOD"];
    if($request_method == "GET") {
            $query_vars = $_GET;
    elseif ($request_method == "POST") {
            $query_vars = $_POST;
    reset($query_vars);
    function customsort($a,$b) {
            // $a is array for form vars, $b is comma seperated case sensitive field order
            // this is case sensitive -- good idea to hrc that.
            $data = array();
            if ( strstr($b,',') == FALSE )  {
                    $b = $b.",";
            $ordering = split(',',$b);
            foreach ($ordering as $orderitem) {
                    if ( ($orderitem != null) && ($orderitem != "") ) {
                            if (isset($a[$orderitem])) {
                                    $data[$orderitem] = $a[$orderitem];
            foreach ($a as $key=>$val) {
                    $data[$key] = $a[$key];
            return $data;
    function xmlentities($string) {
            return str_replace ( array('&', '"', "'", '<', '>'), array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string);
    $t = date("U");
    $formhomedir = preg_replace('/.*\/home\/content/','',$_SERVER['DOCUMENT_ROOT']);
    $formhomedir = explode('/',$formhomedir);
    if (count($formhomedir) <= 4) {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/data/";
    else {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/".$formhomedir[3]."/".$f ormhomedir[4]."/data/";
    $file_order = ".default";
    $file_format = ".text";
    $file_interval = ".15m";
    $field_order = "";
    if (isset($query_vars['form_order'])) {
            if ($query_vars['form_order'] != "alpha") {
                    $field_order=$query_vars['form_order'];
                    $file_order=".custom";
                    $query_vars = customsort($query_vars,$field_order);
            else {
                    switch ($query_vars['form_order']) {
                            case "alpha":
                                    uksort($query_vars,'strnatcasecmp');
                                    $file_order=".alpha";
                            break;
                            default:
                                    $file_order=".default";
                            break;
    if (isset($query_vars['form_format'])) {
            switch ($query_vars['form_format']) {
                    case "csv":
                            $file_format = ".csv";
                    break;
                    case "html":
                            $file_format = ".html";
                    break;
                    case "xml":
                            $file_format = ".xml";
                    break;
                    case "text":
                    case "default":
                    default:
                            $file_format = ".text";
                    break;
    if (isset($query_vars['form_delivery'])) {
            switch ($query_vars['form_delivery']) {
                    case "hourly":
                            $file_interval = ".60m";
                    break;
                    case "hourly_digest":
                            $file_interval = ".60mc";
                    break;
                    case "daily":
                            $file_interval = ".24h";
                    break;
                    case "daily_digest":
                            $file_interval = ".24hc";
                    break;
                    case "digest":
                            $file_interval = ".15mc";
                    break;
                    case "default":
                    default:
                            $file_interval = ".15m";
                    break;
    $file = $formhome."form_".$t.$file_order.$file_format.$file_interval;
    $fp = fopen($file,"w");
    reset($query_vars);
    switch ($file_format) {
            case ".csv":
                    $csvkeys = "";
                    $csvvals= "";
                    $firsttime = "";
                    while (list ($key, $val) = each ($query_vars)) {
                            if ( ($key == "form_order") ||
                                    ($key == "form_format") ||
                                    ($key == "form_delivery") ||
                                    ($key == "redirect") ) {
                            else {
                                    if ($csvkeys != "") {
                                            $firsttime=",";
                                    $tmpkey=escapeshellcmd($key);
                                    $csvkeys = $csvkeys.$firsttime."'".$tmpkey."'";
                                    $tmpval=escapeshellcmd($val);
                                    $csvvals = $csvvals.$firsttime."'".$tmpval."'";
                    fputs($fp,"$csvkeys\n");
                    fputs($fp,"$csvvals\n");
            break;
            case ".html":
                    fputs($fp,"<table border=\"1\" cellspacing=\"1\" cellpadding=\"2\">\n");
            break;
            case ".xml":
                    fputs($fp,"<form>\n");
            break;
    reset($query_vars);
    while (list ($key, $val) = each ($query_vars)) {
            if ($key == "redirect") {
                    $landing_page = $val;
            if ( ($key == "form_order") ||
                    ($key == "form_format") ||
                    ($key == "form_delivery") ||
                    ($key == "redirect") ) {
            else {
                    switch ($file_format) {
                            case ".html":
                                    fputs($fp,"\t<tr>\n");
                                    fputs($fp,"\t\t<td><b>$key</b></td>\n");
                                    fputs($fp,"\t\t<td>$val</td>\n");
                                    fputs($fp,"\t</tr>\n");
                            break;
                            case ".csv":
                                    // content is already output
                            break;
                            case ".xml":
                                    fputs($fp,"\t<field>\n");
                                    fputs($fp,"\t\t<fieldname>".xmlentities($key)."</fieldname>\n");
                                    fputs($fp,"\t\t<fieldvalue>".xmlentities($val)."</fieldvalue>\n");
                                    fputs($fp,"\t</field>\n");
                            break;
                            case ".text":
                            default:
                                    fputs($fp,$key.": ".$val."\n");
                            break;
    switch ($file_format) {
            case ".html":
                    fputs($fp,"</table>\n");
            break;
            case ".xml":
                    fputs($fp,"</form>\n");
            break;
    fclose($fp);
    if ($landing_page != "") {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
    else {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
    ?>

  • Crystal Reports XI R2 SP 6 - Issue with setting Data Source Location

    Hello,
      After some initial difficulty instally CR XI R2 with SP 6 on a windows XP machine (see thread Error on installation of CR XI R2 SP6), the Crystal Reports environment seemed fine, however, when I tried resetting the datasource location on an ODBC datasource between a development and production server, I get the message 'Some Tables could not be replaced as no match was found....'   The tables in the two databases are identical so that isn't the issue.
    Here is some additional information
    The issue seems related only to DSN's that point to a progress database.  I am able to reset datasource locations for DSN's that use the SQL server driver and also for those that use the XML CR ODBC XML Driver 5.0.  I am not able to reset the datasource locations on the DSN's that use a Progress Open Edge 10.1 DB  driver.
    I can create a new report using the DSN for the Progress Driver and add tables, but the table names are coming up as an alias - i.e. if I add a table called PM_Plant, the table added to the report is PM_Plant1.
    I also found I can go into existing reports, rename the tables in the database expert to be an alias (appending 1 to the end of the table name), then I am able to repoint them using the datasource location screen. 
    So it looks like there is a potential work around to the situation, but I didn't run across any information that we should need to do that. 
    Any recommendations how to fix the issue?  
    Thanks,

    Hi Don,
    The reports were created with CR XI R1 on my PC  initially and the progress drivers have not changed since.   The reports were deployed to a server and I pulled them back to my PC to test out any changes after the CR XI R2 SP 6 upgrade.  (so there is really only one machine involved, the one that had the upgrade). 
    I did look at the settings for verifying and tried playing around with those and also with verifying the database but that didn't make any difference.
    I wasn't quite sure which registry keys to look at or what the values should be so wasn't able to pursue that option. 
    All the tables in the progress database use underscores as part of the table name (i.e. PM_Plant, PM_Company), do you think the upgrade to SP6 means that the underscore is now a reserved character and that is why the tables are getting aliased?  If so, do you know how to change the alias settings or the list of characters that are reserved?
    Just an FYI, I had to downgrade back to CR XI R1 at this point to get work done.   If time allows, I'll retry the upgrade in about 5-7 weeks.  I discussed the issue with a system admininstrator and we willl try removing the progress drivers and DSN's prior to trying an upgrade again to see if that makes a difference.  I'll also make sure to keep track of all Report Options and Options and also registry keys to see what changes.
    Thanks

  • Issue with Update All Vaults button

    I am having a relatively strange issue with the latest version of Aperture (3.3.2).
    After the upgrade, my "Update All Vaults" button behaves strangely. In the past, if you pressed it, it went through the process of updating the vaults and then it turned from yellow to black. With the new version, if Aperture is not the foreground application, the button stays yellow, even right after updating all vaults.
    It's not a major issue, but it's quite frustrating because you are never sure if you had updated your vaults or not.
    Any ideas will be greatly appreciated.

    I have exactly the sane problem, even  if Aperture is the foreground application.
    According to the manual this means:
    Yellow: All masters in the library have been backed up, but a change has occurred to at least one version (such as an adjustment) that has not been backed up. The vault should be updated to safeguard your work.
    I have updated all 3 vaults multiple times and they remain yellow. Is there any way to correct this, or alternatively find out which picture creates this problem?
    Thanks
    Pim

  • Spry validation issue with submit button

    Hi,
    I'm new to Spry but am having an issue getting it to work at all.  I created a very simply form (i.e. table with Spry text field and submit button).  I've read many articles and been to several forums, but I can't seem to find the issue I'm having.  Basically, when I go to preview the page in a browser, the table with the Spy text field and submit button comes up fine, but when I hit the submit button, I see the page refresh and any values I had in the text field disappear, but nothing ever comes up saying "A value is required," which is what I'm looking for. This happens even if I don't have any values in the text field.  Below are images of what I'm describing and also the code.  I verified that the "Required" check box is checked in the SpryTextField and the submit button action is selected to "Submit Form."  My setup is Win 7, DW6, & XAMPP.  Any help you can provide would be greatly appreciated.
    Before Submit Button pressed:
    Browser after button pressed: (same as above but no message saying "A value is required.")
    Code:
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    test
    <table width="600" border="1">
      <tr>
        <td><form id="form1" name="form1" method="post" action="">
          <span id="sprytextfield1">
          <label for="test"></label>
          <input type="text" name="test" id="test" />
          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span>
        </form></td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td><form id="form2" name="form2" method="post" action="">
          <input type="submit" name="submit" id="submit" value="Submit" />
        </form></td>
      </tr>
      <tr>
        <td> </td>
      </tr>
    </table>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "email");
    </script>
    </body>
    </html>

    Do yourself a big favor and don't waste time with Spry Validation.  Most modern browsers support HTML5 forms with the required attribute. 
    If you must placate older browsers, use jQuery validate script.  It's lightweight and works when HTML5 support is missing.  You can see an example below. If you hit submit with empty form fields, the required fields pop-up with messages.  View source in browser to see the code. 
    HTML5 Form with jQuery Validation
    Nancy O.

  • Issue With maintaining all my music

    My computer is having a lot of issues and i'm not sure what's wrong with it, so i was reccomended to do a system restore, effectively bringing my computer back to the day i bought it, with nothing installed. I have a lot of music on itunes(music burned from cd's, as well as many purchased songs and episodes of tv shows) and I'm trying to find a way to back it up to cd or flash drive so that i can restore my music collection once i reinstall itunes after my computer is fixed. Any suggestions?

    Welcome to AD!
    Are you using all the default locations for iTunes? If so, it is really straightforward. Copy the top-level music folder to a flash drive.
    That will include the media files, as well as the important iTunes database that holds play counts, ratings, etc.
    Here is a good iLounge article that explains some things about the iTunes library vs. iTunes content
    http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive
    If you have music scattered all over your hard drive, you're on your own ; 0

  • Feed Has No Episodes & Validation Issues with RSS Feed

    Hello! I am beyond my wits end..having many issues getting this podcast submitted and never had such issues before. Any step-by-step help would be GREATLY appreciated!!
    Here is my feedburner: http://feeds.feedburner.com/High-achievingWomensBlogazine
    And here is the page where I have followed the instructions for the audio player and files: http://www.highachievingwomen.biz/podcasts/high-achieving-womens-blogazine-podca sts/
    Is there something I am missing for this feed to be picking up my audio files?
    (Note: since I am using feedburner, I did install the Plugins (Audio player & FeedSmith) that they recommend to use with their system as well)
    And here is what I get when I submit the RSS for validation:
    Congratulations!
    This is a valid RSS feed.
    Recommendations
    This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
    line 14, column 1689: Misplaced Item (10 occurrences) [help]... nt &amp; Marketing" /></itunes:category><item>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/High-achievingWomensBlogazine" /><feedburner:info uri="high-achievingwomensblogazine" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>© 2011 Dr. Laureen Wishom</media:copyright><media:thumbnail url="http://www.highachievingwomen.biz/wp-content/uploads/2010/01/LW.framed.medium.jpg" /><media:keywords>Branding,Identity,Tips,Coaching,Entrepreneurs,Laureen,Wishom,Marketplace,Positioning,Small,Business,Owners,Women,Entrepreneurs</media:keywords><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Business/Management &amp; Marketing</media:category><itunes:owner><itunes:email>[email protected]</itunes:email><itunes:name>Dr Laureen Wishom</itunes:name></itunes:owner><itunes:author>Dr Laureen Wishom</itunes:author><itunes:explicit>no</itunes:explicit><itunes:image href="http://www.highachievingwomen.biz/wp-content/uploads/2010/01/LW.framed.medium.jpg" /><itunes:keywords>Branding,Identity,Tips,Coaching,Entrepreneurs,Laureen,Wishom,Marketplace,Positioning,Small,Business,Owners,Women,Entrepreneurs</itunes:keywords><itunes:subtitle>Global Association of High-Achieving Women</itunes:subtitle><itunes:summary>This association is designed to gift the members with the tools and techniques to gain a competitive edge in the marketplace and assist the members in moving up, moving out or changing directions with ease, purpose and clarity.</itunes:summary><itunes:category text="Business"><itunes:category text="Management &amp; Marketing" /></itunes:category><item>
    Thank you!!

    Your feed has no media files referenced. Your web page has embedded audio players: these won't work in the feed. You need direct links to the media files, which should be mp3 or m4a, not rm, swf or wma. These links have to be contained in an 'enclosure' tag for each episode.
    This page eplains the basics of making a podcast and includes a sample basic feed soi you can see what I'm talking about:
    http://rfwilmut.net/pc
    I'm not suggesting you should write your own feed, but the page will tell you what to look for in a feed.
    You're using Wordpress: it's not really generating a podcast feed. You may need to add the PodPress plugin - I'm not sure whether you can get a podcast feed out of WordPress by itself - I'm afraid I can't advise on this.
    You can ignore the FeedValidator comment - it's only because you have the 'item' tag at the end of a line, and this doesn't matter.

  • Validation issues with XSD

    I'm trying to validate a xml file with this schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns="http://www.jeromedroz.org/etc/lexicon.xsd"
                   targetNamespace="http://www.jeromedroz.org/etc/lexicon.xsd">
         <xsd:element name="lexicon">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element     ref="available-languages" minOccurs="1"
                                       maxOccurs="1"/>
                        <xsd:element ref="term" minOccurs="1" maxOccurs="unbounded"/>
                   </xsd:sequence>
                   <xsd:attribute name="name" type="xsd:string" use="optional" />
              </xsd:complexType>
              <xsd:key name="termPK">
                   <xsd:selector xpath="./term" />
                   <xsd:field xpath="@id" />
              </xsd:key>
              <xsd:keyref name="termFK" refer="termPK">
                   <xsd:selector xpath="./term/include" />
                   <xsd:field xpath="@idref" />
              </xsd:keyref>
         </xsd:element>
         <xsd:element name="available-languages">
              <xsd:complexType>
                   <xsd:sequence maxOccurs="unbounded">
                        <xsd:element     ref="language" minOccurs="1" />
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="language">
              <xsd:complexType>
                   <xsd:attribute name="value" type="xsd:string" use="required" />
                   <xsd:attribute name="default" type="xsd:boolean" use="optional" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="term">
              <xsd:complexType mixed="true">
                   <xsd:choice minOccurs="0" maxOccurs="unbounded">
                        <xsd:any     namespace="http://www.w3.org/1999/xhtml"
                                  processContents="skip" />
                        <xsd:element ref="translation" />
                        <xsd:element ref="include" />
                   </xsd:choice>
                   <xsd:attribute name="id" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="translation">
              <xsd:complexType mixed="true">
                   <xsd:choice minOccurs="0" maxOccurs="unbounded">
                        <xsd:any     namespace="http://www.w3.org/1999/xhtml"
                                  processContents="skip" />
                        <xsd:element ref="include" />
                   </xsd:choice>
                   <xsd:attribute name="language" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="include">
              <xsd:complexType>
                   <xsd:attribute name="idref" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>And here is a portion of my xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <lexicon     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                       xsi:noNamespaceSchemaLocation="http://www.jeromedroz.org/etc/lexicon.xsd
                     ./lexicon.xsd"
                    xmlns:html="http://www.w3.org/1999/xhtml"
                 xmlns="http://www.jeromedroz.org/etc/lexicon.xsd"
                    name="lexicon">
         <available-languages>
              <language value="fr" default="true" />
              <language value="en" />
         </available-languages>
         <term id="include-this">
              <translation language="fr">inclure cela</translation>
                    <translation language="en">include this</translation>
         </term>
            <term id="home">
              <html:a href="http://www.mysite.org">    
                         <translation language="fr">accueil</translation>
                         <include idref="include-this" />
                    </html:a>
         </term>
    </lexicon>The idref attribute of the include tag is a reference to the id attribute of the term tag. The problem is the key and keyref definition in the xsd file: for example, if a term appears more than once (with the same id) the parser should notice it because the key is duplicated, but it doesn't. I've tried several places for the key and keyref definition in the xsd file but I get an error like KeyRefOutOfScope nearly all the time. Do anybody have a solution?

    I'm trying to validate a xml file with this schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns="http://www.jeromedroz.org/etc/lexicon.xsd"
                   targetNamespace="http://www.jeromedroz.org/etc/lexicon.xsd">
         <xsd:element name="lexicon">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element     ref="available-languages" minOccurs="1"
                                       maxOccurs="1"/>
                        <xsd:element ref="term" minOccurs="1" maxOccurs="unbounded"/>
                   </xsd:sequence>
                   <xsd:attribute name="name" type="xsd:string" use="optional" />
              </xsd:complexType>
              <xsd:key name="termPK">
                   <xsd:selector xpath="./term" />
                   <xsd:field xpath="@id" />
              </xsd:key>
              <xsd:keyref name="termFK" refer="termPK">
                   <xsd:selector xpath="./term/include" />
                   <xsd:field xpath="@idref" />
              </xsd:keyref>
         </xsd:element>
         <xsd:element name="available-languages">
              <xsd:complexType>
                   <xsd:sequence maxOccurs="unbounded">
                        <xsd:element     ref="language" minOccurs="1" />
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="language">
              <xsd:complexType>
                   <xsd:attribute name="value" type="xsd:string" use="required" />
                   <xsd:attribute name="default" type="xsd:boolean" use="optional" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="term">
              <xsd:complexType mixed="true">
                   <xsd:choice minOccurs="0" maxOccurs="unbounded">
                        <xsd:any     namespace="http://www.w3.org/1999/xhtml"
                                  processContents="skip" />
                        <xsd:element ref="translation" />
                        <xsd:element ref="include" />
                   </xsd:choice>
                   <xsd:attribute name="id" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="translation">
              <xsd:complexType mixed="true">
                   <xsd:choice minOccurs="0" maxOccurs="unbounded">
                        <xsd:any     namespace="http://www.w3.org/1999/xhtml"
                                  processContents="skip" />
                        <xsd:element ref="include" />
                   </xsd:choice>
                   <xsd:attribute name="language" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="include">
              <xsd:complexType>
                   <xsd:attribute name="idref" type="xsd:string" use="required" />
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>And here is a portion of my xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <lexicon     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                       xsi:noNamespaceSchemaLocation="http://www.jeromedroz.org/etc/lexicon.xsd
                     ./lexicon.xsd"
                    xmlns:html="http://www.w3.org/1999/xhtml"
                 xmlns="http://www.jeromedroz.org/etc/lexicon.xsd"
                    name="lexicon">
         <available-languages>
              <language value="fr" default="true" />
              <language value="en" />
         </available-languages>
         <term id="include-this">
              <translation language="fr">inclure cela</translation>
                    <translation language="en">include this</translation>
         </term>
            <term id="home">
              <html:a href="http://www.mysite.org">    
                         <translation language="fr">accueil</translation>
                         <include idref="include-this" />
                    </html:a>
         </term>
    </lexicon>The idref attribute of the include tag is a reference to the id attribute of the term tag. The problem is the key and keyref definition in the xsd file: for example, if a term appears more than once (with the same id) the parser should notice it because the key is duplicated, but it doesn't. I've tried several places for the key and keyref definition in the xsd file but I get an error like KeyRefOutOfScope nearly all the time. Do anybody have a solution?

  • Validating attributes with a non-schema namespace

    Hey,
    Just wondering if anyone could possibly help me with the following.
    Under 3.3.2 (http://www.w3.org/TR/xmlschema-1/#declare-element) it says that the definition of "element" can have "any attributes with non-schema namespace" .
    If I have a schema (a.xsd) and import another schema (b.xsd):
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                       xmlns:b="http://www.foo.com"
                       elementFormDefault="qualified"
                       attributeFormDefault="unqualified">
         <xs:import namespace="http://www.foo.com"; schemaLocation="b.xsd"/>
        <xs:element name="someName" b:validAttribute="invalidValue"/>
    </xs:schema>Is there a way to ensure that b:validAttribute is validated when I use SchemaFactory#newSchema(StreamSource)?
    I've been hunting around and it just seems to ignore it / always let it pass regardless of the value.
    The w3 XMLSchema.xsd uses processContents="lax" for the xs:anyAttribute, so as I understand it, it should be validated it if it finds b.xsd (which it does)?
    As a side note, it also allows b:invalidAttribute="foo" which I'd also like to catch..
    Any help would be much appreciated!
    Cheers,
    Meph.

    If you take your schema and validate it against the schema for schemas from the W3C site then I am sure the 'b:validAttribute' will be validated.
    But I have no idea whether the SchemaFactory will process schemas that way (i.e. by validating them against the schema for schemas).

  • Issues with printing all picture formats to the a4 paper tray via eprint

    A little mystery which i am unable to work out.
    I have recently purchased the hp photosmart plus all in one printer b210 model. The printer has eprint which is enabled and working, the printer has two trays, a standard a4 paper tray and a photo tray.
    When i send a letter or standard written email it prints fine to the a4 paper tray. however if i wish to print a picture of any size or type (as i have tried different sizes and file types etc) to the a4 paper tray, it always defaults this to the photo tray and of course as there is no paper in the photo tray it displays an out of paper message.
    I have been into the printer prefereneces and changed the tray type both to a4 and to auto - ask me first and both still try to print to the photo tray, looking at the demo for e print it does discuss only photo sized images and standard letters but the demo video shows an actual eprint send to the a4 tray of a different type eprinter for hp.
    As a summary i really think that you can be able to send images to the a4 tray via eprint but do not know how. i have changed the tray type on the printer options and also looked at the eprint options on line. the paper default is set to a4 and nothing smaller? what else could be done and is it actually possible for this model i have?
    just as an additional note i can print pictures from wireless via laptops and pcs to the a4 paper tray so the issue lies with eprint????
     any help is appriciated many thanks
    AMD64legend

    Currently, if you attach a photo, it will default to the photo tray.  The ability to specify photo tray vs. main tray w/attached images is not available yet. 
    A work-around that provides some fliexibility in this area, is that if you embed your photo into the body of the email, it will print from the main tray...don't put any text into the email and embed the image (so you can see the picture in the email body) and send it to your printer's email. 
    A limitation of this approach is that images will not automatically fill the page - see my crude "drawing" below of a page w/an image in the upper part of the page as an example of how a print out of an embedded image might appear.  Give this a try yourself if you'd like to see how the output looks to determine if you want to make use of this option.  You can embed multiple images as long as you stay below the 5MB size limit for each email.  
    | ___________ |                   
    | |                  | |
    | |   image      | |
    | |                  | |
    | ----------------  |
    |                      |
    |____________|
    I am an HP employee.

  • Issue with union all in sql

    Hi All,
    I have a requirement as below.
    SELECT 'A' AS 'XXX' FROM DUAL
    UNION ALL
    SELECT 'B' AS 'XXX' FROM DUAL
    I need to check in such a way in my second sql query if 'B'='A' then i need to print 'A' else 'B' , means in my second query i need to compare the value of XXX with the first query value of XXX if it is same then i need to print first query's value of XXX or else need to print second queries XXX value.
    Please help me on this

    user13424229 wrote:
    Hi All,
    I have a requirement as below.
    SELECT 'A' AS 'XXX' FROM DUAL
    UNION ALL
    SELECT 'B' AS 'XXX' FROM DUAL
    I need to check in such a way in my second sql query if 'B'='A' then i need to print 'A' else 'B' , means in my second query i need to compare the value of XXX with the first query value of XXX if it is same then i need to print first query's value of XXX or else need to print second queries XXX value.
    Please help me on thisYour quesiton is not very clear, I would suggest you read {message:id=9360002}.
    If you are looking at a way to see the next or previous row from your current row then you can use LEAD or LAG analytical function. They are well documented. You can read all about it there.

  • Issue with FOR ALL ENTRIES

    Hi All,
    I have used FOR ALL ENTRIES statement in while selecting data based on some other internal table (to avoid select within loop).
    While using FOR ALL ENTRIES, the target table (internal table in which data is getting stored) is getting affected.
    The other fields are becoming zero and several rows gets delerted from the internal table after performing select query.
    How to avoid this bug?
    Kindly help me out....
    Regards
    Pavan

    hi after the for all entries statement did you used the read statement .
    if not you will not get any data ..check this program..
    tables:mara,marc.
    data:begin of itab occurs 0,
         matnr like mara-matnr,
         end of itab.
    data:begin of itab1 occurs 0,
         matnr like marc-matnr,
         werks like marc-werks,
         end of itab1.
    select   matnr
          from mara
          into corresponding fields of  table itab.
          if   itab is initial.
          select  matnr
                  werks
                 from marc
                 into  table itab1
                 for all entries in itab
                 where matnr = itab-matnr.
                 loop at itab1.
                 read table itab with key matnr = itab-matnr.
                 write:/ itab1-matnr,itab1-werks.
                 endloop.
                 endif.

  • Data Validation issue with Standard Extraction

    Hi Experts,
    I have a requirement to publish a report in BI from ECC, all the details are coming from this DataSource : 2LIS_02_ITM.
    This particular DataSource have the many fields which are from the following tables
    EKKO
    EKPO
    MARA
    EKBE
    I tried replicating the DataSource in BI and created transformation extracted full data.The number of record the DSO (0PUR_O01) has is 27910.
    I checked with the ECC tables. And the number of records they have are
    EKKO -   79129
    EKPO -  250502
    MARA -   40950
    EKBE - 1447470 
    I just don't know how do I check whether BI data is correct with ECC.
    Can anyone please tell me how do I reconcile the data.
    Thanks

    Hi,
    you have to check the number of records for the datasource in RSA3 transaction.
    Also, check the start routine at transformation level, as well as the selections if you have loaded.
    Hope this helps,
    Regards,
    Rama Murthy.

  • Issue with using imported schemas in BPEL

    Hi
    I am using one main schema (1) in which I am importing another schema (2. sugarHill.xsd) elements using references(sh) in BPEL assign/transfermations
    to pass the values in target. But when I execute the process what I observe is that main schema element values (artist) & reference varialbe(sh:album) in main schema values are coming properly in input variable but in assign/transfermations the reference used in main schema (sh:album) varialbe values in source coming as empty/null. I tried couple of options but didn't work out. Please let me know how can I get and pass the reference variable value in assing/transermation bpel activity.
    1. Main Schema.
    <?xml version="1.0"?>
    <xs:schema targetNamespace="http://www.newInstance.com/cd-database"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:sh="http://www.sugarhillrecords.com"
    elementFormDefault="qualified"
    >
    <xs:import namespace="http://www.sugarhillrecords.com"
    schemaLocation="sugarHill.xsd"/>
    <xs:element name="cd">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="artist" type="xs:string" />
    <xs:element ref="sh:album" />
    </xs:sequence>
    <xs:attribute name="title" type="xs:string" />
    </xs:complexType>
    </xs:element>
    </xs:schema>
    2. sugarHill.xsd
    <?xml version="1.0"?>
    <xs:schema targetNamespace="http://www.sugarhillrecords.com"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xs:element name="album">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="description" type="xs:string" />
    <xs:element name="producer" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    Thanks
    Kishore

    Hi James,
    actually we tried out the parameters you had suggested but not seeing improvement...
    -- are there any other options for us or any other things/workaround which we could try out ..to me it looks like because of the slowness of the AQ adapter to de-queue the b2b message payload from the IP_IN_QUEUE that we are getting limited bpel processing speed...
    -- our's is not a RAC enviornment as you had asked before ..are there are any AQ queue parameters to speed up the processing speed which could be setup in the INIT.ora file ..
    --- also it seem not sure though that the aq_tm_processes parameter is depricated in 10g... and there is another parameter job_queue_processes parameter....i am not really sure how this parameter improves parallel processing or even works..
    -- also is it true that number of subscribers/listeners for the queue also limits the processing speed... for the seeded internal B2B queue IP_IN_QUEUE is there any way to figure out how many subscribers are listening to this queue for the de queue operation.
    -- one more question we had is it possible that from the b2b side when i process 1000 messages means 1000 edi files
    that i could enqueue 500 messages to one custom queue q1 while the remaining 500 messages to the other custom queue q2.. could this be of any help to us ...
    If yes could you please help us out with the queue creation pl/sql scripts if any..as to how we could create our custom queue on the B2B side... i am not sure what setups would be involved for doing this as well what setups would be required on the B2B trading partner setups to force the b2b messages to go to this custom queue..even if we are able to create custom queues ...
    Thanks for your response though ..surely would await your reply to my queries here...
    Thanks
    sachin.

  • Validating parser with SAX and SCHEMA

    Hi,
    Can I validate a xml file by SCHEMA with Sun's SAX?
    If i can, what versions i need?
    jsdk1.3 and SAX 1.0 are enought ?
    What is JAXP , it's a SAX version ?
    Thanks.
    Sorry for my english !

    I tried this doc with the file source, but it does't work, i have the error message following :
    java.lang.IllegalArgumentException: No attributes are implemented
    Download the latest copy of JAXP from http://java.sun.com
    ERROR! INVALID FILE
    But I have JAXP installed with JavaTM XML Pack, and I didn't change the source, juste copy on my hard disk and run the .java.
    Why do I have this errors ? please.

Maybe you are looking for

  • HT1338 My Macbook Pro doesn't have a Audio In Port. why is this? I thought it was standard to come with such a thing.

    I recieved my Macbook Pro as a gift from my parents on Christmas in 2011.  When a friend and I tried to record ourselves using a microphone, we knew we would have to change the audio output, using my laptop.  I then realized I have no such thing.  Is

  • GL to Vendor

    We have recently shifted to SAP from oracle..One of our Vendor's Balance was wronly uploaded in SAP Against Accrued Expenses. Now i want to Shift that amount from Accrued Expenses to Vendor's Account & also want to Clear that vendor payment. Please t

  • Get info About Interconnect in 10gR1 (10.1.0.4)

    Hallo, I need as much info as possible on cluster interconnect. I get info about OCR configuration for DATABASE cluster interconnect from $oifcfg getif and from Alert.log and querying X$KSXPIA. How can I get info about CLUSTERWARE cluster interconnec

  • Unity Connect and O365 Restrictions

    Hi, Has anyone heard of any updates regarding the restrictions imposed by Office 365. Unity Connect is limited to a maximum of 19 user per unified messaging service Microsoft are supposed to be opening these restrictions up. Now sure when though. Reg

  • Cant find my country (UK) in the billing options for purchase single case

    Hi! I have problems with Crystal Reports and want to buy a single support case to resolve the issue. However, when filling in the billing info by the credit card details i only get a selections of carribbean and South American countries? What am i do