OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   parameter entity with msxml

[ Lists Home | Date Index | Thread Index ]
  • From: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 04 Sep 1997 21:35:37 +0200

Hi there,

I am using msxml to read/parse my XML documents within a Java application. I 
wondered if msxml takes care of parameter entity. This example doesn't work :

<?XML version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tei.2 [

<!ENTITY % ISOtech SYSTEM "/users/autoinfo/bonhomme/XML/ISOtech.pen" >
<!ENTITY % ISOlat1 SYSTEM "/users/autoinfo/bonhomme/XML/ISOlat1.pen" >
<!ENTITY % ISOlat2 SYSTEM "/users/autoinfo/bonhomme/XML/ISOlat2.pen" >
<!ENTITY % ISOgrk1 SYSTEM "/users/autoinfo/bonhomme/XML/ISOgrk1.pen" >
<!ENTITY % ISOgrk2 SYSTEM "/users/autoinfo/bonhomme/XML/ISOgrk2.pen" >
<!ENTITY % ISOgrk3 SYSTEM "/users/autoinfo/bonhomme/XML/ISOgrk3.pen" >
<!ENTITY % ISOgrk4 SYSTEM "/users/autoinfo/bonhomme/XML/ISOgrk4.pen" >

<s>J'ai d&eacute;cide d'&eacute;crire un livre sur l'Espace et le Temps 
&agrave; l'intention du grand public apr&egrave;s les conf&eacute;rences Loeb 
que j'ai donn&eacute;es &agrave; Harvard en 1982.</s></p>

I've got this exception :
Error: test-ent.xml(21,17)
Context:  - <null> - <TEI.2> - <P> - <S>
com.ms.xml.ParseException: Missing entity eacute
        at com.ms.xml.Parser.error(Parser.java:110)
        at com.ms.xml.Parser.scanEntityRef(Parser.java:440)
        at com.ms.xml.Parser.scanText(Parser.java:395)
        at com.ms.xml.Parser.parseText(Parser.java:1223)
        at com.ms.xml.Parser.parseElement(Parser.java:1081)
        at com.ms.xml.Parser.parseDocument(Parser.java:643)
        at com.ms.xml.Parser.parse(Parser.java:47)
        at com.ms.xml.Document.load(Document.java:171)
        at msxml.main(msxml.java:50)

Thanks for any help...

  bonhomme@loria.fr               |      Office : B.228
  http://www.loria.fr/~bonhomme   |      Phone  : 03 83 59 20 37
    * Projet Aquarelle    
    * Serveur Silfide     
    * Multilingual Concordancing

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS