Re: [xml] ATTRIBUTE NAME validation problem
- From: Stefan Behnel <stefan_ml behnel de>
- To: murulidharar huawei com
- Cc: xml gnome org
- Subject: Re: [xml] ATTRIBUTE NAME validation problem
- Date: Mon, 28 Jan 2008 13:55:01 +0100
Hi,
murali wrote:
<!ATTLIST doc : CDATA #IMPLIED>
is a valid declaration of attribute ":" for element doc.
But , currently LIBXML2 generates a error when it encounters this.
well, that's just because ':' isn't really a well-formed attribute name. So
you're actually lucky libxml2 tells you that, otherwise you'd generate XML
that no parser can parse.
Java xml parser also has the same behavior.
you see?
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]