dom4j-user  

[dom4j-user] (no subject)

Carlo INCERTI
Wed, 16 Feb 2005 23:30:32 -0800

Hi all,

excuse for my written English,

 

I have a problem when I try to validate an xml file with the JARV example using an XML Schema: I obtain the following error:

 

ERROR: com.sun.msv.verifier.ValidityViolation: attribute "boardno" has a bad value: "ICN-HORIZONAAAAAAA-AAAA-AD131000-F-A3121-00001-A-01-1" does not satisfy the "ENTITY" type

 

In the xml file I have the following declarations:

<!DOCTYPE dmodule [

       <!ENTITY ICN-HORIZONAAAAAAA-AAAA-AD131000-F-A3121-00001-A-01-1 "ICN-HORIZONAAAAAAA-AAAA-AD131000-F-A3121-00001-A-01-5.svg">

]>

 

The strange case is that with XML Spy the XML file is Ok.

 

Can anybody help me?

 

Regards

Carlo.