You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Vojtech Janota (JIRA)" <xm...@xml.apache.org> on 2010/10/26 14:02:27 UTC
[jira] Created: (XMLBEANS-446) too restrictive prefix constraint
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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] [Commented] (XMLBEANS-446) too restrictive prefix constraint
Posted by "Vojtech Janota (JIRA)" <xm...@xml.apache.org>.
[ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org