[Fixed] Validation issue - Sax

G-day
I use an instance of XMLReader. its config is :
parseur = XMLReaderFactory.createXMLReader();              
     // g�re les pr�fixes "xmlns:*"           
     parseur.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
     parseur.setFeature("http://xml.org/sax/features/namespaces", true);
     parseur.setFeature("http://xml.org/sax/features/validation", true);
     parseur.setFeature("http://apache.org/xml/features/validation/schema", true);     
parseur.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true)the schema location is defined in the xml document in input :
<sh:StandardBusinessDocument xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader
http://www.gs1globalregistry.net/2.0/schemas/sbdh/StandardBusinessDocumentHeader.xsd urn:ean.ucc:2       
http://www.gs1globalregistry.net/2.0/schemas/CatalogueItemNotificationProxy.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
    xmlns:gdsn="urn:ean.ucc:gdsn:2"
    xmlns:eanucc203="urn:ean.ucc:2">When I parse it, I get the following error message : cvc-elt.1: Cannot find the declaration of element 'sh:StandardBusinessDocument'.
I assume it can't find the schema. have you any idea of my mistake ?
I downloaded the schema on PC and modified the root node like this :
<sh:StandardBusinessDocument xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader
file:/C:/jdevstudio1013.2/jdev/mywork/BMS_Package_Align_Catalogue_Item_Synchronisation/Catalogue_Item_Synchronisation_Implementers_Packet/Schemas/sbdh/StandardBusinessDocumentHeader.xsd urn:ean.ucc:2
file:/C:/jdevstudio1013.2/jdev/mywork/BMS_Package_Align_Catalogue_Item_Synchronisation/Catalogue_Item_Synchronisation_Implementers_Packet/Schemas/CatalogueItemNotificationProxy.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns:gdsn="urn:ean.ucc:gdsn:2"
xmlns:eanucc203="urn:ean.ucc:2">in this case, it works fine, the schema is found. But I would like to use the schema defined with the http link.
Thanks a lot
Message was edited by:
bullit

Fixed. It was just a proxy issue !

Similar Messages

  • [svn] 3457: Accepting patch SDK-17038 by Brian Telintelo to fix an incorrect validation issue in ComboBox .

    Revision: 3457
    Author: [email protected]
    Date: 2008-10-02 13:45:35 -0700 (Thu, 02 Oct 2008)
    Log Message:
    Accepting patch SDK-17038 by Brian Telintelo to fix an incorrect validation issue in ComboBox.
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17038
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as

  • APEX 4.1, SQL Query(Updateable report), Validation issue.

    Hi,
    I am using APEX 4.1.
    I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    Thanks in advance.
    Thanks & regards,
    Ravi.

    Hi Ravi,
    Welcome to Oracle Forums!
    Please acquaint yourself with the FAQ and forum etiquette if you haven't already done so.
    Always state
    <ul>
    <li>Apex Version</li>
    <li>DB Version and edition</li>
    <li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
    <li>When asking about forms always state tabular form if it is a tabular form</li>
    <li>When asking about reports always state Classic / IR</li>
    <li>Always post code snippets enclosed in a pair of &#123;code&#125; tags as explained in FAQ</li>
    </ul>
    I am using APEX 4.1.I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    >
    Post your validation code with some explanations of what the g_fnn are.
    Cheers,

  • I can't fix the issue on Final Cut Server,

    I tried to fix this issue, I don't have this program anymore, but it is continued appearing the error on my laptop.
    "Final Cut Server cannot start without a valid serial number. Please enter your serial number in the server's Final Cut Server System Preferences panel."
    For your information, I deleted this program few years ago, It is really annoying me, "Popup" Check the picture ( Below)
    I would appreciate, if you resolve my problem thanks!

    Did you try using the tool from Digital Rebellion?
    http://www.digitalrebellion.com/fcsremover/
    It is supposed to removed Final Cut Server and Final Cut Studio.

  • Windows 8.1 Fingerprint Sensor Driver not working - Fixed my issue

    When I upgraded to Win 8.1 the finger print sensor wasn't working.  I had the correct drivers installed.  What fixed the issue was upgrading the hardware driver in the Device Manager program, under Biometrics.  Highlight the Validity listing, choose upgrade driver, choose selet from a list, choose the latest driver which will have a higher number obviously.   My fingerprint sensor is now working! 

    Unfortunately HP couldn't figure it out when I called them.  They installed the same drivers I already tried several times.  After I hung up, I figured to update the actual Validity Driver under Biometrics in the Device Manager section.  That fixed my issue.    I think HP techs need to be trained a bit more thoroughly.  So Kudos goes to me.

  • Content Validation Issue on Distribution Points

    Hi all,
    I am currently running SCCM 2012 R2 CU2 with Single Primary Site Server and Several remote Distribution Points serving Windows Updates, Software and Images.
    This has been bothering me for a while now and I can not figure it out…. Two of my distribution points are not completing their content validation. They begin the process as scheduled
    but about 2-5 packages in, they get hung up on an old package that does not exist anymore and then start the process over, validating the same 2 packages over and over. I have ran a few scripts to check WMI for this package and it is definitely not there.
    It is not present in the Content Library either.
    Simple query for to check WMI for the package on the DP:
    gwmi -Namespace rootsccmdp -Query “select * from SMS_PackagesInContLib where PackageID = ‘XXX001AE′”
    Here is a snip of the smsdpmon.log
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Start to evaluate package ‘XXX001AE’ version 0 …
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x4000094C to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Failed to evaluate package XXX001AE, Error code 0×80070002
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report state message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report Body: SPS001AE["Display=vdepman.sdale.org"]MSWNET:["SMS_SITE=SPS"]vdepman.sdale.org
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000095A to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Anyone have any idea why it is still trying to validate this old package?
    Thanks

    Thanks for the replies,
    Here is some extra information on what I have tried.
    I have run the Bart Serneels script which did seem to clean some things up on the other servers. Did NOT fix the issue on these ones however.
    I have also ran these two scripts that compare the content on the DP itself.
    This one Compares Content Librrary with WMI and deletes the package INI if needed.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    ##Write-Host Items in WMI but not the Content Library
    ##Write-Host ========================================
    ##$PksinWMIButNotContentLib
    Write-Host Items in Content Library but not WMI
    Write-Host ====================================
    $PksinContentLibButNotWMI
    Write-Host Delete .INI´s in PkgLib not in WMI
    Foreach ($PkgLIB in $PksinContentLibButNotWMI){
    Remove-Item -Path "$PkgLibPath\$PkgLIB.INI" -Confirm
    This one Compares WMI to the Content Library and delete the package from WMI.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    Foreach ($Pkg in $PksinWMIButNotContentLib){
    Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib -Filter "PackageID = '$Pkg'" | Remove-WmiObject -Confirm
    Neither of them return any information about left over packages.
    If I must, I may uninstall the DP role on these servers and reinstall it, one of them in also my "Application Catalog Server". Will re-installing the DP on this server cause any major issues?
    Thanks

  • Autopopulation Validation Issue

    i am having one field say passport number. Depends on some fields it is autopopulating the values. i kept some validations for this field and it is not working at the time of autopopulation. if i enter manually means validation is happening. please help me to fix this issue. i am using the value change listener for the validation purpose .

    Use Validator method instead of ValueChangeListener
    Ashish

  • Only firefox is reporting my SSL certificate as revoked. How can I fix this issue?

    I have recently re-keyed and re-installed an SSL certificate on my server (https://beta.alicorsolutions.com:2087) running WHM on linux.
    The SSL certificate is passing all the 3rd party SSL tests (https://www.ssllabs.com/ssltest/analyze.html?d=beta.alicorsolutions.com) and works perfectly fine in Chrome and IE. However, in Firefox I get an error page that says: "Peer's Certificate has been revoked. Error code: sec_error_revoked_certificate".
    After doing some searching, I can see that the problem is specific to firefox and the only way everyone else seems to be fixing the problem is by turning off OCSP under Preferences > Advanced > Validation.
    This of course is not an acceptable long-term solution. I need to fix this issue as quickly as possible, ay help at all would be appreciated. Please let me know if there's any other information I can provide that would assist you in solving this issue.

    hello jcsarda, it's only working in chrome because its security settings are more relaxed per default (when you set chrome to check for certificate revokation in settings > advanced > HTTPS/SSL it shows the same error for me). i don't know about IE...

  • After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer. Does anyone have any advice on how to fix this issue?

    After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?

    Welcome to the Apple Community.
    Which OS are you using.

  • I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,00 songs and They are all in my music folder..What can I do to fix this issue?

    I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !

    I did that and nothing changed half my songs still have examination marks beside them
    I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files?

  • I am trying to burn an iDVD but get message menu contains no buttons. How do I fix this issue?

    I am trying to burn an iDVD, but get message menu contains no buttons. How do I fix this issue?

    That essentially means that there's been no videos or slideshows added to the project as each of those items will create a button to play.  What have you added to the project?
    OT

  • I recently did an update for my iTunes and now when I try to open it, I get an error that says that my data execution prevention is not allowing it to open. How do I fix this issue?

    I recently did an update for my iTunes and now when I try to open it, I get an error that says that my data execution prevention is not allowing it to open. How do I fix this issue?

    Try updating your QuickTime to the most recent version. Does that clear up the DEP errors in iTunes?

  • Hi, Firefox keeps crashing, the crash signature is ProcessBoundaryCells. I tried searching Mozilla, but there are no supporting articles. If anyone can please help me fix this issue, that would be great. Thanks

    Hi, Firefox on my desktop keeps crashing at just random moments. Sometimes not very often at all, but other times it can happen a few times within an hour.
    My Desktop Window Manager also crashes regularly and the dialogue box always pops up saying its stopped working. However, this doesn't seem to effect anything.
    It could be realated though, as I just had this desktop built a few weeks ago and a few times it's crashed as well as programs.
    If anyone can help me fix this issue with Firefox, that would be great. Thanks in advance.

    Hi,
    I updated the Flash plugin, but I still keep getting crashes.
    I will try to disable the hardware acceleration in the Flash Player as you recommended and hopefully this will work.
    Although the last crash report I got has a different problem then before,
    https://crash-stats.mozilla.com/report/index/6c5d8c66-6789-4b52-94e4-61cdf2110530
    Signature: BuildArgArray
    If you can please offer any more advice that would be great, thanks.

  • My iPhone 5s on ios 8.1.2 is stuck at Apple logo or recovery mode.. To fix this issue, i need to update it to ios 8.2 through itunes.. I want to ask that my data i.e. Photos and other personal data would be removed after updating it or not..?

    My iPhone 5s on ios 8.1.2 is stuck at Apple logo or recovery mode.. To fix this issue, i need to update it to ios 8.2 through itunes.. I want to ask that my data i.e. Photos and other personal data would be removed after updating it or not..?
    if yes then how can i save my data or get out of recovery mode.. Is there any safe mode or something like that on which i could access my data..
    P.S. I have not taken any backup of my iPhone on itunes..
    Please help me sort out this issue..

    Recovery mode doesn't mean that all your data is already lost. You only lose your data if you restore it.
    When you plug the phone is into iTunes hold down the home button. iTunes may then give you the option JUST to update the software first. This should not get rid of any data.
    However, if iTunes is only giving you the option to RESTORE and update, then you will lose your data I'm afraid.
    Hope that helps!

  • I have an older version of itunes stuck on my computer and because of an apparent pathway missing it wont let me uninstall and reinstall the newer itunes....anyone know how to fix this issue?

    I have an older version of itunes stuck on my computer and because of an apparent pathway missing it wont let me uninstall and reinstall the newer itunes....anyone know how to fix this issue?

    What's the precise text of that message please, jeremy? (There's a few different ones I can think of that you might be getting.)

Maybe you are looking for