--- markup/xml/xmlcc/xmlcc-work.en.html 2007/11/14 11:40:48 1.12 +++ markup/xml/xmlcc/xmlcc-work.en.html 2007/11/14 12:28:40 1.13 @@ -124,11 +124,33 @@
xml-misc-recommendation
.<
, then raise an
xml-misc-warning
.Name
is
+xml:space
has declared type different from
+(default|preserve), (default), or (preserve), then raise an
+xml-misc-error
.
+@@ duplication with
+#xml-at-xml-space.xml-misc-recommendation
An
+ xml-misc-recommendation
+ will be raised if a SHOULD‐level requirement
+ in XML specification is not met.
xml-validity-error
xml-well-formedness-error
xml-misc-warning
.
U+000D
+CARRIAGE RETURN
character, then
+raise a
+round-trip-error
.
+@@ We should not raise duplicate errors for U+000D
+in attribute values. In addition, we should support a mode where
+U+000D will be serialized as
(so that no round-trip-error
+will be raised).The algorithm @@ -342,14 +378,30 @@ check nc recusrively. +
nodeName
attribute of n is
+ xml:space
@@ or {xml namespace}:space ?
+ and value
attribute of n is neither
+ default
nor preserve
, then it is an
+ xml-misc-error
.specified
,
manakaiAttributeType
AttributeDefinition
nodenodeName
attribute of n is
+ xml:space
@@ or {xml namespace}:space ?
+ and its declared type is different from (default|preserve),
+ (default), or (preserve), then raise an
+ xml-misc-error
.childNodes
list of n,
nodeName
attribute value as an NCName
.ownerDocument
attribute of n is
+ null
, then abort these substeps.documentElement
attribute of the node
+ set to ownerDocument
attribute of n is
+ null
, then abort these substeps.nodeName
attribute of the node set to
+ documentElement
attribute of the node set to
+ ownerDocument
attribute of n is
+ different from nodeName
of n,
+ then raise an
+ xml-validity-error
.publicId
attribute value as a public identifier.systemId
attribute value contains
@@ -582,22 +649,27 @@
ProcessingInstruction
nodetarget
attribute value as an NCName
.target
attribute value matches to
- XML
case-insensitively, then it is a
+ target
attribute value matches to the string
+ xml
in any case combination, then raise a
xml-well-formedness-error
.data
attribute value as an XML character
+ target
attribute value as an NCName
.data
attribute value as an XML character
data.data
attribute value contains
- a string ?>
, or starts with either
- U+0009
, U+000A
,
- U+000D
, or U+0020
- character, then it is a
- round-trip-error
.data
attribute value contains a string
+ ?>
, then raise a
+ xml-well-formedness-error
.data
attribute value starts with either
+ U+0009
CHARACTER
+ TABULATION
, U+000A
LINE
+ FEED
, U+000D
CARRIAGE
+ RETURN
, or U+0020
+ SPACE
character, then raise a
+ round-trip-error
.childNodes
list of n contains
- any nodes, they are in
+ any nodes, then raise an
xml-well-formedness-error
.