[
https://issues.apache.org/jira/browse/XMLBEANS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080422#comment-13080422
]
Vojtech Janota commented on XMLBEANS-446:
-----------------------------------------
Snippet from the following spec:
http://www.w3.org/TR/xml-names/#ns-decl
At the end of the section:
All other prefixes beginning with the three-letter sequence x, m, l, in any
case combination, are reserved. This means that:
* users SHOULD NOT use them except as defined by later specifications
* processors MUST NOT treat them as fatal errors.
> too restrictive prefix constraint
> ---------------------------------
>
> Key: XMLBEANS-446
> URL: https://issues.apache.org/jira/browse/XMLBEANS-446
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2.3, Version 2.4 , Version 2.5
> Reporter: Vojtech Janota
> Priority: Minor
>
> XML Specification clearly states that when declaring namespace bindings
> prefixes starting with "xml" are reserved and must not be used. However it
> also states that processors must NOT treat them as fatal errors. Current
> implementation fails to parse XML files with such prefixes:
> org.apache.xmlbeans.XmlRuntimeException: error: Prefix can't begin with XML:
> xml2uddi_portType
> at
> org.apache.xmlbeans.impl.store.Locale$SaxHandler.startPrefixMapping(Locale.java:3321)
> ...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]