You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/07/31 21:44:27 UTC

DO NOT REPLY [Bug 6441] - DTD failed to pass, though valid with other tools, like XML Spy

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6441>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6441

DTD failed to pass, though valid with other tools, like XML Spy

tng@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From tng@ca.ibm.com  2002-07-31 19:44 -------
I've tried your entity, and the parser issue error:
  Message: Expected | enumeration separator, or closing paren

for the newline character within "294"

<!ENTITY % OLI_LU_MEDCOND "(0 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 
108 | 109 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 
127 | 128 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 
141 | 142 | 143 | 144 | 146 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 
156 | 157 | 158 | 159 | 160 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 
171 | 174 | 175 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 
187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 198 | 199 | 200 | 
201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 215 | 216 | 217 | 218 | 
219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 230 | 233 | 234 | 235 | 
236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 
249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 264 | 
265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 
278 | 279 | 280 | 281 | 282 | 283 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 
292 | 29
4 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311

the "294" is splitted by a newline "0x000a", this is not valid.

According to XML spec, enumeration is Nmtoken separated by space and pipe (|)

[59]    Enumeration    ::=    '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')' 

the newline "0x000a" is not a valid character in NmToken.

So the parser issues such error is working as expected.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org