Re: Validation problem when SCHEMA XSD and ENTITY DECLARATION

Eric van der Vlist <[email protected]>
Newsgroups gmane.text.xml.french.tech
Organization Dyomedea (http://dyomedea.com)
Message-ID <[email protected]>
Bonjour,
Le lundi 27 février 2006 à 14:52 +0100, RACHOVITCH Yoni a écrit :
> I have a xml file which looks like to the following one. It is linked
> to a schema file, and has, at the beginning, a DOCTYPE tag which
> refers to jpeg ENTITY. 
> I note that the schema takes in account the Entity but I can't valid
> my xml file with MSXML2 because of mix Schema and Entity. I only use
> the load function of msxml2 that valids a xml file according to its
> schema. but it doesen't work when Entitys are in declaration.
> Have you got an idea?

Il n'y a, à priori, aucune raison de ne pas utiliser à la fois des
entités et un schéma mais cela pose problème à certains parseurs.

De plus les entités NDATA sont un héritage SGML très peu utilisé et
pouvant donc poser des problèmes d'interopérabilité entre parseurs...

Avez-vous essayé d'utiliser un parseur autre que MSXML2 pour voir dans
quelle mesure le problème lui est spécifique?

Cordialement,

Eric van der Vlist

-- 
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBEBAIhDvn+ZCpSgAURAqYgAJ4mUX5zGGwqNM4JT3ElYzdtvy+rgQCcD85/
oGuf0Z3rGMjZ8JwNNbfoouw=
=33ZU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.