jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Strasser <tobias.stras...@gmail.com>
Subject Re: re-opening jira/browse/JCR-62 about xml:lang etc.
Date Fri, 18 Mar 2005 13:19:02 GMT
hi michi,
the problem arises when someone creates a node or property with a xml
reserved namespace, for example: xml:myProperty. when exporting (as
docview), it would result in a xml document having an attribute or an
element using a xml reserved namespace.

as mentioned in [1]:
Namespace Constraint: Leading "XML"
Prefixes beginning with the three-letter sequence x, m, l, in any case
combination, are reserved for use by XML and XML-related

the jsr170 specification will be altered in a way that
importing/exporting xml reserved properties or nodes are allowed. it
will be the responsibility of the application to avoid creation of
properties or nodes that will result in a invalid xml document (in
respect to xml reserved names) when exporting.

cheers, tobi

[1] http://www.w3.org/TR/REC-xml-names/#xmlReserved
------------------------------------------< tobias.strasser@day.com >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97 
-----------------------------------------------< http://www.day.com >---

View raw message