[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-446) too restrictive prefix constraint
From:       "Vojtech Janota (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2011-08-06 16:48:27
Message-ID: 1759081116.13917.1312649307245.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-446?page=com.atlassian.jira.plugi \
n.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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic