[xslt] Re: [xml] periods legal in an NMTOKEN
- From: Daniel Veillard <veillard redhat com>
- To: David Cramer <dcramer broadjump com>
- Cc: xslt gnome org, xml gnome org
- Subject: [xslt] Re: [xml] periods legal in an NMTOKEN
- Date: Tue, 10 Sep 2002 17:28:55 -0400
On Tue, Sep 10, 2002 at 01:24:18PM -0500, David Cramer wrote:
> We have a dtd with attributes defined as NMTOKEN. When the attribute
> values have periods in them, we get the error:
>
> "validity error: standalone: foo on bar value had to be normalized based
> on external subset declaration"
>
> Our processing system is designed to die on the word error (some other
> xsl processors aren't so nice with their exit codes). If I change
> NMTOKEN to CDATA in the DTD, we no longer get the error but that causes
> other problems.
>
> Looking at the spec, I think periods should be ok in an NMTOKEN:
>
> http://www.w3c.org/TR/2000/REC-xml-20001006#NT-Nmtoken
Right, give me a sample test case according to
http://xmlsoft.org/bugs.html
Then I will look into it,
thanks,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]