-----Original Message-----
From: Miguel Angel Lopez [mailto:malgonzalez@indra.es]
Sent: Monday, February 12, 2001 2:36 AM
To: info@unicode.org
Subject: Doubt
Good morning. I write from Spain
I have one doubt, and I wonder if you can help me.
I want my xml file to have required "attlist", so I put in my DTD file
the
next text:
.....
<!ATTLIST Identificacion IdCliente NMTOKEN #REQUIRED
Nombre NMTOKENS #REQUIRED
Apellido1 NMTOKENS #REQUIRED
Apellido2 CDATA #IMPLIED>
....
The problem is:
1. If in the corresponding xml file the IdCliente attribute equals "",
it does not produce error !!
2. If in the corresponding xml file the Nombre attribute equals "JohnO"
it's OK, but if it is equals "John'O"
(nfpl !!!), it gifs error!!!
How can I do to get that in the first case produce error and in the
second
not to produce error.
Thanks and excuse my poor English
begin 600 malgonzalez.vcf
M8F5G:6XZ=F-A<F0@#0IN.DQO<&5Z.TUI9W5E;"!!;F=E;`T*>"UM;WII;&QA
M+6AT;6PZ1D%,4T4-"G5R;#IW=W<N:6YD<F$N97,-"F]R9SI!5$Q!3E1%(%-)
M4U1%34%3+"!3+DPN.TEN9V5N:65R:6$@>2!$97-A<G)O;&QO#0IV97)S:6]N
M.C(N,0T*96UA:6P[:6YT97)N970Z;6%L9V]N>F%L97I`:6YD<F$N97,-"F%D
M<CMQ=6]T960M<')I;G1A8FQE.CL[8R\@5F5L87IQ=65Z(#$S,CTP1#TP03M-
M861R:60@("`Y,2`S-#@@,3(@-S@[.SM%<W!A\6$-"F9N.DUI9W5E;"!!;F=E
4;"!,;W!E>@T*96YD.G9C87)D#0H=
`
end
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:18 EDT