You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2007/06/13 04:19:25 UTC

[jira] Reopened: (XERCESJ-1254) Empty uris in targetNamespace attribute not reported as a XML Schema error

     [ https://issues.apache.org/jira/browse/XERCESJ-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reopened XERCESJ-1254:
-------------------------------------------


> Empty uris in targetNamespace attribute not reported as a XML Schema error
> --------------------------------------------------------------------------
>
>                 Key: XERCESJ-1254
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1254
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.9.0
>            Reporter: Ignacio Hernandez-Ros
>            Priority: Minor
>         Attachments: EmptyTargetNamespace.xsd
>
>
> According to Section 3.15.2 of the XML Schema Specification, a targetNamespace attribute with empty content must be considered as an error.
> http://www.w3.org/TR/xmlschema-1/#declare-schema
> The 3rd paragraph below the table in the spec says:
> Since the empty string is not a legal namespace name, supplying an empty string for targetNamespace is incoherent, and is not the same as not specifying it at all.
> Xerces 2.9.0 considers a schema with empty content in the targetNamespace as a valid schema.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org