Okay, so this must have been a very odd mistake on my part. There is no 2.2 version of the schema available, only 2.1. I also checked the debian source packages and all only mention 2.1. So I do not know where I've introduced the typo, but it sure was a mistake on my part.
Well, sorry for the chatter and cheerio! Alex. Von: [email protected] [mailto:[email protected]] Im Auftrag von Alexander Herr Gesendet: Montag, 19. Dezember 2016 09:22 An: [email protected] Betreff: [lsc-users] Cannot find the declaration of element 'lsc' I was trying to use LSC but am not able to get past this error. >From my understanding of XML, it cannot traverse the xsd-file to find the >appropriate lsc-root element. I am running on a fresh Debian 8 behind a corporate firewall without direct http-connectivity (an http-proxy is in place but I'd like to not leverage it here). The original lsc.xml refers to http://lsc-project.org/XSD/lsc-core-2.2.xsd. This is problem number 1: That url refers to a 404. In fact, there is no XSD subdirectory on lsc-project.org. Is this expected behaviour? I got hold of a copy of the XSD from the source and copied it to my machine, in hopes to let lsc read it from local. To make this work I also changed the root element to look like this: <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://lsc-project.org/XSD/lsc-core-2.2.xsd /etc/lsc/lsc-core-2.2.xsd<http://lsc-project.org/XSD/lsc-core-2.2.xsd%20/etc/lsc/lsc-core-2.2.xsd>" id="1" revision="0"> This correctly defines the namespace. Moreover this validates correctly against xmllint with the local XSD-file. Here is problem number 2: running lsc, this did not change the error being raised: cvc-elt.1: Cannot find the declaration of element 'lsc'. How can I get past this error? Any help is highly appreciated. Alex.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

