Hi, i've had some problems with some parsers with this in the header:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN""http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">

/|\

|
    Some parsers dont seem to like these two comiles together__|

in all cases i have solved it just inserting a white space between them


-- Francisco

----- Original Message -----
From: Belli Andrea <[EMAIL PROTECTED]>
To: jBoss <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 11:23 AM
Subject: R: [jBoss-User] Illegal xml character


> I've used xp parser and the document seems to be valid, but I don't
succeed
> to solve the problem; I've used  Ultra Edit to see hex codes of characters
> in ejb-jar.xml.
> I've tried to remove some lines from this and it seems the error is
located
> in the lines of entity bean description.
> have you any suggestion?  Andrea
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> JavaBeans 1.1//EN"
> "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
> <ejb-jar>
> <enterprise-beans>
> <session>
> <ejb-name>gramrule.GramRule</ejb-name>
> <home>it.cselt.newscan.gram.GramRuleHome</home>
> <remote>it.cselt.newscan.gram.GramRule</remote>
> <ejb-class>it.cselt.newscan.gram.GramRuleBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> <ejb-ref>
> <ejb-ref-name>gramrule.Phrase</ejb-ref-name>
> <ejb-ref-type>Entity</ejb-ref-type>
> <home>it.cselt.newscan.gram.PhraseHome</home>
> <remote>it.cselt.newscan.gram.Phrase</remote>
> <ejb-link>gramrule.Phrase</ejb-link>
> </ejb-ref>
> </session>
> <entity>
> <ejb-name>gramrule.Phrase</ejb-name>
> <home>it.cselt.newscan.gram.PhraseHome</home>
> <remote>it.cselt.newscan.gram.Phrase</remote>
> <ejb-class>it.cselt.newscan.gram.PhraseBean</ejb-class>
> <persistence-type>Container</persistence-type>
> <prim-key-class>java.lang.String</prim-key-class>
> <reentrant>False</reentrant>
> <cmp-field>
> <field-name>Words</field-name>
> </cmp-field>
> <primkey-field>Words</primkey-field>
> </entity>
> </enterprise-beans>
> </ejb-jar>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to