Attribute-Value Normalisation
Michael Ewins
mik at owl.co.uk
Wed Mar 31 18:19:22 BST 1999
Can someone help me or point me toward appropriate FAQ.
In the XML specification it says attribute values will be normalised. However,
the explanation isn't clear to me so I'll try to clear up my understanding
through an example.
<!ATTLIST MYDOC file CDATA #IMPLIED >
I have an element MYDOC and this has an attribute that references a filename
which is CDATA.
An example document might read
<MYDOC file="c:\temp\hello.txt"/>
Will this attribute be normalised if it contains any whitespace? For example,
"space morepsace.txt" is a valid filename on Windows but I need to know if XML
will attempt to normalise the multiple whitespace to
"space morespace.txt" or something equally wrong.
Essentially my question is, if I have a valid filename (on Windows or Mac) that
I use as an attribute value in XML can I be sure the parser will pass this on
unchanged?
thanks in advance for any help...
--
Michael Ewins
Panasonic OWL -- mik at owl.co.uk -- http://www.owl.co.uk
home -- michael_ewins at hotmail.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list