Error Unable To Open Primary Document Entity
Next message: [xsd-users] Failing to parse XML document generated with the same code. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Boris, Thanks for the amaizingly quick reply! The files are all on the same directory and I don't get any more errors or warning that the ones on my previous email... so, no, I don't get: warning: unable to open primary document entity 'xml1.xsd' :S Regards. Juan On Fri, Sep 18, 2009 at 4:54 PM, Boris Kolpackov
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://www.codesynthesis.com/pipermail/xsd-users/2009-September/002465.html Join them; it only takes a minute: Sign up Xerces-C “The primary document entity could not be opened” up vote 0 down vote favorite I've got an error message coming in that I've not seen before in my XML processing code. I've not really changed anything recently, but we're moving stuff around here at the moment. The programs I've http://stackoverflow.com/questions/13036412/xerces-c-the-primary-document-entity-could-not-be-opened run so far are all affected. Warning at file , line=0, column=0, An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=/tmp/authNotify.xsd Notice there is no file name listed ("Warning at file ,"). I don't have any XSD files in the /tmp directory at all, so it shouldn't be looking there. Puzzled! The XML files are the same as always. I can post whatever you all might think is helpful. The current directory is not /tmp. I'm using Xerces-C 2.8 on an AS/400 environment here. xml xsd xerces share|improve this question asked Oct 23 '12 at 17:58 Kelly Beard 193112 Could you post an example of a XML file you're trying to parse? It could be trying to open a XSD file that doesn't actually exist (maybe take a look at issues.apache.org/jira/browse/XERCESC-544) –Joe Bane Nov 3 '12 at 1:15 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote This error seems to occur when xercesc opens an xml file to read it suc
log file error on the SP: ==> shibd_warn.log <== http://shibboleth.net/pipermail/users/2013-April/008949.html 2013-04-05 20:11:05 ERROR XMLTooling.ParserPool : fatal error on line 0, column 0, message: unable to open primary document entity '/var/cache/shibboleth/federation-metadata.xml' 2013-04-05 20:11:05 ERROR OpenSAML.MetadataProvider.XML : error while loading resource (/var/cache/shibboleth/federation-metadata.xml): XML error(s) during parsing, check log for specifics 2013-04-05 20:11:05 CRIT OpenSAML.MetadataProvider.XML : maintaining existing configuration, error reloading resource (https://idp3.martyforrest.com/idp/profile/Metadata/SAML): error unable XML error(s) during parsing, check log for specifics 2013-04-05 20:12:49 WARN Shibboleth.Application : insecure cookieProps setting, set to "https" for SSL/TLS-only usage 2013-04-05 20:12:49 WARN Shibboleth.Application : handlerSSL should be enabled for SSL/TLS-enabled web sites 2013-04-05 20:12:49 WARN OpenSAML.MetadataProvider.XML : adjusted reload interval to 600 seconds 2013-04-05 20:12:49 WARN OpenSAML.MetadataProvider.XML : error unable to trying backup file, exception loading remote resource: Metadata did not include a validUntil attribute. 2013-04-05 20:12:49 ERROR XMLTooling.ParserPool : fatal error on line 0, column 0, message: unable to open primary document entity '/var/cache/shibboleth/federation-metadata.xml' 2013-04-05 20:12:49 ERROR OpenSAML.MetadataProvider.XML : error while loading resource (/var/cache/shibboleth/federation-metadata.xml): XML error(s) during parsing, check log for specifics 2013-04-05 20:12:49 CRIT Shibboleth.Application : error initializing MetadataProvider: XML error(s) during parsing, check log for specifics The remote IDP metadata is in my previous email and I have pasted the relying_party from the IDP here. Thankyou. Dom root at idp3 conf]# cat relying-party.xml